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.
Returns a raw, unparsed switch by index.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function GetRawSwitch ( _
iIndex As Integer, _
<OutAttribute> ByRef pbstrRawSwitch As String _
) As Integer
'Usage
Dim instance As IVsParseCommandLine
Dim iIndex As Integer
Dim pbstrRawSwitch As String
Dim returnValue As Integer
returnValue = instance.GetRawSwitch(iIndex, _
pbstrRawSwitch)
int GetRawSwitch(
int iIndex,
out string pbstrRawSwitch
)
int GetRawSwitch(
[InAttribute] int iIndex,
[OutAttribute] String^% pbstrRawSwitch
)
abstract GetRawSwitch :
iIndex:int *
pbstrRawSwitch:string byref -> int
function GetRawSwitch(
iIndex : int,
pbstrRawSwitch : String
) : int
Parameters
- iIndex
Type: System.Int32
[in] Index of the switch to return.
- pbstrRawSwitch
Type: System.String%
[out] Pointer to a string containing the raw, unparsed switch.
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 IVsParseCommandLine::GetRawSwitch(
[in] int iIndex,
[out, retval] BSTR* pbstrRawSwitch
);
.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.