RuntimeTypeHandle Structure
TOC
Collapse the table of content
Expand the table of content

RuntimeTypeHandle Structure

 

Represents a type using an internal metadata token.

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

[<Sealed>]
[<SerializableAttribute>]
[<ComVisibleAttribute(true)>]
type RuntimeTypeHandle = 
    struct
        interface ISerializable
    end

NameDescription
System_CAPS_pubpropertyValue

Gets a handle to the type represented by this instance.

NameDescription
System_CAPS_pubmethodEquals(Object)

Indicates whether the specified object is equal to the current RuntimeTypeHandle structure.(Overrides ValueType.Equals(Object).)

System_CAPS_pubmethodEquals(RuntimeTypeHandle)

Indicates whether the specified RuntimeTypeHandle structure is equal to the current RuntimeTypeHandle structure.

System_CAPS_pubmethodGetHashCode()

Returns the hash code for the current instance.(Overrides ValueType.GetHashCode().)

System_CAPS_pubmethodGetModuleHandle()

Gets a handle to the module that contains the type represented by the current instance.

System_CAPS_pubmethodGetObjectData(SerializationInfo, StreamingContext)

Populates a SerializationInfo with the data necessary to deserialize the type represented by the current instance.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns the fully qualified type name of this instance.(Inherited from ValueType.)

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticEquality(Object, RuntimeTypeHandle)

Indicates whether an object and a RuntimeTypeHandle structure are equal.

System_CAPS_puboperatorSystem_CAPS_staticEquality(RuntimeTypeHandle, Object)

Indicates whether a RuntimeTypeHandle structure is equal to an object.

System_CAPS_puboperatorSystem_CAPS_staticInequality(Object, RuntimeTypeHandle)

Indicates whether an object and a RuntimeTypeHandle structure are not equal.

System_CAPS_puboperatorSystem_CAPS_staticInequality(RuntimeTypeHandle, Object)

Indicates whether a RuntimeTypeHandle structure is not equal to an object.

The following example demonstrates how to obtain a RuntimeTypeHandlefrom a type or from an object, and how to turn the handle back into a type.

No code example is currently available or this language may not be supported.

Universal Windows Platform
Available since 4.5
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft