TypeDelegator.GetElementType Method

Definition

Returns the Type of the object encompassed or referred to by the current array, pointer or ByRef.

public:
 override Type ^ GetElementType();
public override Type? GetElementType ();
public override Type GetElementType ();
override this.GetElementType : unit -> Type
Public Overrides Function GetElementType () As Type

Returns

The Type of the object encompassed or referred to by the current array, pointer or ByRef, or null if the current Type is not an array, a pointer or a ByRef.

Applies to