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.
Gets information about a debug target if the current debug target is appropriate.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function SupplyDebugTarget ( _
<OutAttribute> ByRef pbstrTarget As String, _
<OutAttribute> ByRef pbstrCommandLine As String _
) As Integer
'Usage
Dim instance As IVsProjectDebugTargetProvider
Dim pbstrTarget As String
Dim pbstrCommandLine As String
Dim returnValue As Integer
returnValue = instance.SupplyDebugTarget(pbstrTarget, _
pbstrCommandLine)
int SupplyDebugTarget(
out string pbstrTarget,
out string pbstrCommandLine
)
int SupplyDebugTarget(
[OutAttribute] String^% pbstrTarget,
[OutAttribute] String^% pbstrCommandLine
)
abstract SupplyDebugTarget :
pbstrTarget:string byref *
pbstrCommandLine:string byref -> int
function SupplyDebugTarget(
pbstrTarget : String,
pbstrCommandLine : String
) : int
Parameters
- pbstrTarget
Type: System.String%
[out] Pointer to a string containing the name of the target.
- pbstrCommandLine
Type: System.String%
[out] Pointer to a string containing arguments for the provider.
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:
[C++]
HRESULT IVsProjectDebugTargetProvider::SupplyDebugTarget(
[out] BSTR* pbstrTarget,
[out] BSTR* pbstrCommandLine
);
.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.
See Also
Reference
IVsProjectDebugTargetProvider Interface