PropertyToken Structure

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

The PropertyToken struct is an opaque representation of the Token returned by the metadata to represent a property.

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

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

NameDescription
System_CAPS_pubpropertyToken

Retrieves the metadata token for this property.

NameDescription
System_CAPS_pubmethodEquals(Object)

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

System_CAPS_pubmethodEquals(PropertyToken)

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

System_CAPS_pubmethodGetHashCode()

Generates the hash code for this property.(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 PropertyToken with Token value 0.

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticEquality(PropertyToken, PropertyToken)

Indicates whether two PropertyToken structures are equal.

System_CAPS_puboperatorSystem_CAPS_staticInequality(PropertyToken, PropertyToken)

Indicates whether two PropertyToken structures are not equal.

.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: