Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Tests for a breakpoint set on a named location.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function IsBreakpointOnName ( _
ByRef guidLanguage As Guid, _
pszCodeLocationText As String, _
<OutAttribute> ByRef pfIsBreakpoint As Integer _
) As Integer
'Usage
Dim instance As IVsDebugger
Dim guidLanguage As Guid
Dim pszCodeLocationText As String
Dim pfIsBreakpoint As Integer
Dim returnValue As Integer
returnValue = instance.IsBreakpointOnName(guidLanguage, _
pszCodeLocationText, pfIsBreakpoint)
int IsBreakpointOnName(
ref Guid guidLanguage,
string pszCodeLocationText,
out int pfIsBreakpoint
)
int IsBreakpointOnName(
[InAttribute] Guid% guidLanguage,
[InAttribute] String^ pszCodeLocationText,
[OutAttribute] int% pfIsBreakpoint
)
abstract IsBreakpointOnName :
guidLanguage:Guid byref *
pszCodeLocationText:string *
pfIsBreakpoint:int byref -> int
function IsBreakpointOnName(
guidLanguage : Guid,
pszCodeLocationText : String,
pfIsBreakpoint : int
) : int
Parameters
- guidLanguage
Type: System.Guid%
[in] ] The GUID for the language service such as SID_SVisualBasicLangService.
- pszCodeLocationText
Type: System.String
[in] String containing the name of the location to test for a breakpoint, such as a function name.
- pfIsBreakpoint
Type: System.Int32%
[out] Set to true if the breakpoint is set; otherwise set to false.
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 vsshell.idl:
HRESULT IVsDebugger::IsBreakpointOnName(
[in] REFGUID guidLanguage,
[in] LPCOLESTR pszCodeLocationText,
[out] BOOL* pfIsBreakpoint
);
.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.