IParameterizedType.OwnerType Property

Definition

Returns the parent / owner type, if this type is an inner type, otherwise null is returned if this is a top-level type.

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

Property Value

Attributes

Exceptions

if one of the type arguments cannot be found

if the owner type cannot be instantiated for some reason

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to