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

Name Description
Empty

The default PropertyToken with Token value 0.

Properties

Name Description
Token

Retrieves the metadata token for this property.

Methods

Name Description
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

Name Description
Equality(PropertyToken, PropertyToken)

Indicates whether two PropertyToken structures are equal.

Inequality(PropertyToken, PropertyToken)

Indicates whether two PropertyToken structures are not equal.

Applies to