Lenguaje

IParameterizedType.OwnerType Propiedad

Definición

Devuelve el tipo primario o propietario, si este tipo es un tipo interno, de lo contrario null , se devuelve si se trata de un tipo de nivel superior.

public Java.Lang.Reflect.IType? OwnerType { [Android.Runtime.Register("getOwnerType", "()Ljava/lang/reflect/Type;", "GetGetOwnerTypeHandler:Java.Lang.Reflect.IParameterizedTypeInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")] get; }
[<get: Android.Runtime.Register("getOwnerType", "()Ljava/lang/reflect/Type;", "GetGetOwnerTypeHandler:Java.Lang.Reflect.IParameterizedTypeInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
member this.OwnerType : Java.Lang.Reflect.IType

Valor de propiedad

Objeto Type que representa el tipo de este tipo es miembro o null para un tipo de nivel superior.

Atributos

Excepciones

si no se encuentra uno de los argumentos de tipo

Si el tipo de propietario no se puede crear una instancia por algún motivo

Comentarios

Devuelve un Type objeto que representa el tipo del que este tipo es miembro. Para un tipo de nivel superior, devuelve null.

Java documentación para java.lang.reflect.ParameterizedType.getOwnerType().

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a