Creates a moniker for a given token.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'宣言
Function CreateMonikerForToken ( _
token As Object _
) As Moniker
'使用
Dim instance As IMonikerResolver
Dim token As Object
Dim returnValue As Moniker
returnValue = instance.CreateMonikerForToken(token)
Moniker CreateMonikerForToken(
Object token
)
Moniker^ CreateMonikerForToken(
Object^ token
)
function CreateMonikerForToken(
token : Object
) : Moniker
Parameters
token
Type: System.ObjectThe token for the moniker.
Return Value
Type: Microsoft.VisualStudio.Modeling.Moniker
A moniker that represents the token.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.