共用方式為


StringToken.Token Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Retrieves the metadata token for this string.

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

Syntax

'Declaration
Public ReadOnly Property Token As Integer
public int Token { get; }

Property Value

Type: System.Int32
Read-only. Retrieves the metadata token of this string.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.