Condividi tramite


VsExpansionManagerClass.GetTokenPath Method

Returns the path to the specified location. See GetTokenPath

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

Syntax

'Dichiarazione
Public Overridable Function GetTokenPath ( _
    token As UInteger, _
    <OutAttribute> ByRef pbstrPath As String _
) As Integer
public virtual int GetTokenPath(
    uint token,
    out string pbstrPath
)
public:
virtual int GetTokenPath(
    [InAttribute] unsigned int token, 
    [OutAttribute] String^% pbstrPath
)
abstract GetTokenPath : 
        token:uint32 * 
        pbstrPath:string byref -> int 
override GetTokenPath : 
        token:uint32 * 
        pbstrPath:string byref -> int 
public function GetTokenPath(
    token : uint, 
    pbstrPath : String
) : int

Parameters

  • pbstrPath
    Type: System.String%
    [out] Returns a string containing the full path to the specified location.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

IVsExpansionManager.GetTokenPath(UInt32, String%)

.NET Framework Security

See Also

Reference

VsExpansionManagerClass Class

Microsoft.VisualStudio.TextManager.Interop Namespace