TypeToken Structure

TypeToken Structure

 

Represents the Token returned by the metadata to represent a type.

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

[SerializableAttribute]
[ComVisibleAttribute(true)]
public struct TypeToken

NameDescription
System_CAPS_pubpropertyToken

Retrieves the metadata token for this class.

NameDescription
System_CAPS_pubmethodEquals(Object)

Checks if the given object is an instance of TypeToken and is equal to this instance.(Overrides ValueType.Equals(Object).)

System_CAPS_pubmethodEquals(TypeToken)

Indicates whether the current instance is equal to the specified TypeToken.

System_CAPS_pubmethodGetHashCode()

Generates the hash code for this type.(Overrides ValueType.GetHashCode().)

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_pubfieldSystem_CAPS_staticEmpty

The default TypeToken with Token value 0.

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticEquality(TypeToken, TypeToken)

Indicates whether two TypeToken structures are equal.

System_CAPS_puboperatorSystem_CAPS_staticInequality(TypeToken, TypeToken)

Indicates whether two TypeToken structures are not equal.

The type of an object is also known as the class of an object.

.NET Framework
Available since 1.1
Silverlight
Available since 2.0

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