Table of Contents

Method GetElementType

Namespace
Microsoft.Samples.Debugging.CorMetadata
Assembly
corapi.dll

GetElementType()

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

public override Type GetElementType()

Returns

Type

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 in the definition of a generic type or generic method.