Type::GetElementType Method
Silverlight
When overridden in a derived class, 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)
Return Value
Type: System::TypeThe Type of the object encompassed or referred to by the current array, pointer, or reference type, or nullptr 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.
The following example demonstrates using the GetElementType method.
Note: |
|---|
To run this example, see Building Examples That Use a Demo Method and a TextBlock Control. |
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
Community Additions
ADD
Show:
Note: