This documentation is archived and is not being maintained.

TypeBuilder.GetElementType Method

Calling this method always throws NotSupportedException.

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

Return Value

This method is not supported. No value is returned.


Exception Type Condition
NotSupportedException This method is not supported.


Retrieve the type using GetType or GetType and use reflection on the retrieved type.


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

TypeBuilder Class | TypeBuilder Members | System.Reflection.Emit Namespace