Compartilhar via


VsExpansionPackageClass.GetTokenPath(UInt32, String) Method

Definition

Returns the path to the specified location. See GetTokenPath(UInt32, String).

public:
 virtual int GetTokenPath(System::UInt32 token, [Runtime::InteropServices::Out] System::String ^ % pbstrPath) = Microsoft::VisualStudio::TextManager::Interop::IVsExpansionManager::GetTokenPath;
public:
 virtual int GetTokenPath(System::UInt32 token, [Runtime::InteropServices::Out] System::String ^ % pbstrPath);
 virtual int GetTokenPath(unsigned int token, [Runtime::InteropServices::Out] std::wstring const & & pbstrPath);
public virtual int GetTokenPath (uint token, out string pbstrPath);
abstract member GetTokenPath : uint32 * string -> int
override this.GetTokenPath : uint32 * string -> int
Public Overridable Function GetTokenPath (token As UInteger, ByRef pbstrPath As String) As Integer

Parameters

token
UInt32

[in] A value from the _ExpansionToken enumeration.

pbstrPath
String

[out] Returns a string containing the full path to the specified location.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

Applies to