Edit

Share via


PropertyToken Struct

Definition

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

public value class PropertyToken
[System.Serializable]
public struct PropertyToken
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public struct PropertyToken
[<System.Serializable>]
type PropertyToken = struct
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type PropertyToken = struct
Public Structure PropertyToken
Inheritance
PropertyToken
Attributes

Fields

Empty

The default PropertyToken with Token value 0.

Properties

Token

Retrieves the metadata token for this property.

Methods

Equals(Object)

Checks if the given object is an instance of PropertyToken and is equal to this instance.

Equals(PropertyToken)

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

GetHashCode()

Generates the hash code for this property.

Operators

Equality(PropertyToken, PropertyToken)

Indicates whether two PropertyToken structures are equal.

Inequality(PropertyToken, PropertyToken)

Indicates whether two PropertyToken structures are not equal.

Applies to