Share via


Type.GetElementType Method

When overridden in a derived class, this method returns the type of the object encompassed or referred to by the current array, pointer, or reference type.

Namespace: System
Assembly: mscorlib (in mscorlib.dll)

Syntax

 public virtual abstract Type GetElementType ()

Return Value

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

-or-

A null reference if the current Type object is not an array, pointer, or reference type.

Version Information

Available in .NET Micro Framework version 2.0, 2.5

See Also

Reference

Type Class
Type Members
System Namespace