This documentation is archived and is not being maintained.

TypeDelegator.GetElementType Method

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

[Visual Basic]
Overrides Public Function GetElementType() As Type
[C#]
public override Type GetElementType();
[C++]
public: Type* GetElementType();
[JScript]
public override function GetElementType() : Type;

Return Value

The Type of the object encompassed or referred to by the current array, pointer or ByRef, or a null reference (Nothing in Visual Basic) if the current Type is not an array, a pointer or a ByRef.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

TypeDelegator Class | TypeDelegator Members | System.Reflection Namespace

Show: