TypeDelegator.GetElementType 方法

定义

返回由当前数组、指针或 ByRef 包含或引用的对象的 TypeReturns the Type of the object encompassed or referred to by the current array, pointer or ByRef.

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

返回

由当前数组、指针或 Type 包含或引用的对象的 ByRef;如果当前 null 不是数组、指针或 Type,则为 ByRefThe 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.

适用于