ערוך

שתף באמצעות


_Type.GetElementType Method

Definition

Provides COM objects with version-independent access to the GetElementType() method.

public:
 Type ^ GetElementType();
public Type GetElementType ();
abstract member GetElementType : unit -> Type
Public Function GetElementType () As Type

Returns

The Type of the object encompassed or referred to by the current array, pointer or reference type.

-or-

null if the current Type is not an array or a pointer, or is not passed by reference, or represents a generic type or a type parameter of a generic type or method definition.

Remarks

This method is for access to managed classes from unmanaged code, and should not be called from managed code.

The Type.GetElementType method returns the Type of the object encompassed or referred to by the current array, pointer or reference type.

Applies to