FieldToken Structure

FieldToken Structure

 

The FieldToken struct is an object representation of a token that represents a field.

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

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

NameDescription
System_CAPS_pubpropertyToken

Retrieves the metadata token for this field.

NameDescription
System_CAPS_pubmethodEquals(FieldToken)

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

System_CAPS_pubmethodEquals(Object)

Determines if an object is an instance of FieldToken and is equal to this instance.(Overrides ValueType.Equals(Object).)

System_CAPS_pubmethodGetHashCode()

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

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticEquality(FieldToken, FieldToken)

Indicates whether two FieldToken structures are equal.

System_CAPS_puboperatorSystem_CAPS_staticInequality(FieldToken, FieldToken)

Indicates whether two FieldToken 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:
© 2016 Microsoft