次の方法で共有


IVsDebugger2.GetSymbolPath(String, String) Method

Definition

Gets the current symbol path and cache settings.

public:
 int GetSymbolPath([Runtime::InteropServices::Out] System::String ^ % pbstrSymbolPath, [Runtime::InteropServices::Out] System::String ^ % pbstrSymbolCachePath);
int GetSymbolPath([Runtime::InteropServices::Out] std::wstring const & & pbstrSymbolPath, [Runtime::InteropServices::Out] std::wstring const & & pbstrSymbolCachePath);
public int GetSymbolPath (out string pbstrSymbolPath, out string pbstrSymbolCachePath);
abstract member GetSymbolPath : string * string -> int
Public Function GetSymbolPath (ByRef pbstrSymbolPath As String, ByRef pbstrSymbolCachePath As String) As Integer

Parameters

pbstrSymbolPath
String

[out] The current symbol path.

pbstrSymbolCachePath
String

[out] The current symbol cache path.

Returns

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

Remarks

The symbol path, pbstrSymbolPath or pbstrSymbolCachePath, is a list of symbol-server locations, separated by semicolons. Optionally, it can begin with one or more cache locations followed by a semicolon.

The symbol path can also contain one or more cache locations. Caches are listed in priority order, with the highest priority cache first, and separated by * symbols. For example:

\\symbols\symbols;\\someotherserver\symbols;c:\symbols\httpsymbols*http://msdl.microsoft.com  

COM Signature

From vsshell80.idl:

HRESULT GetSymbolPath(  
    [out] BSTR *pbstrSymbolPath,  
    [out] BSTR *pbstrSymbolCachePath  
);  

Applies to