共用方式為


MethodBuilder.GetToken Method

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

Returns the MethodToken that represents the token for this method.

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

Syntax

'Declaration
<SecuritySafeCriticalAttribute> _
Public Function GetToken As MethodToken
[SecuritySafeCriticalAttribute]
public MethodToken GetToken()

Return Value

Type: System.Reflection.Emit.MethodToken
The method token of this method.

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.