IVsDebugger2.GetSymbolPath Method
Gets the current symbol path and cache settings.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'宣言
Function GetSymbolPath ( _
<OutAttribute> ByRef pbstrSymbolPath As String, _
<OutAttribute> ByRef pbstrSymbolCachePath As String _
) As Integer
'使用
Dim instance As IVsDebugger2
Dim pbstrSymbolPath As String
Dim pbstrSymbolCachePath As String
Dim returnValue As Integer
returnValue = instance.GetSymbolPath(pbstrSymbolPath, _
pbstrSymbolCachePath)
int GetSymbolPath(
out string pbstrSymbolPath,
out string pbstrSymbolCachePath
)
int GetSymbolPath(
[OutAttribute] String^% pbstrSymbolPath,
[OutAttribute] String^% pbstrSymbolCachePath
)
function GetSymbolPath(
pbstrSymbolPath : String,
pbstrSymbolCachePath : String
) : int
Parameters
pbstrSymbolPath
Type: System.String%[out] The current symbol path.
pbstrSymbolCachePath
Type: System.String%[out] The current symbol cache path.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell80.idl:
HRESULT GetSymbolPath(
[out] BSTR *pbstrSymbolPath,
[out] BSTR *pbstrSymbolCachePath
);
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.