Export (0) Print
Expand All

Type.GetTypeHandle Method

Gets the handle for the Type of a specified object.

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

public static RuntimeTypeHandle GetTypeHandle(
	Object o
)

Parameters

o
Type: System.Object
The Object for which to get the Type handle.

Return Value

Type: System.RuntimeTypeHandle
The handle for the Type of the specified Object.

ExceptionCondition
ArgumentNullException

o is null.

The handles are valid only in the application domain in which they were obtained.

Platform Notes

Silverlight for Windows Phone Silverlight for Windows Phone

This member is present to support the .NET Compact Framework infrastructure in Silverlight for Windows Phone, and it is not intended to be used in your application code.

Silverlight

Supported in: 5, 4

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Xbox 360, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft