VsExpansionPackageClass.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
‘선언
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
- token
Type: System.UInt32
[in] A value from the _ExpansionToken enumeration.
- 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
- 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.