Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the raw, unparsed value of the switch by index.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function GetRawSwitchValue ( _
iIndex As Integer, _
<OutAttribute> ByRef pbstrRawSwitchValue As String _
) As Integer
int GetRawSwitchValue(
int iIndex,
out string pbstrRawSwitchValue
)
int GetRawSwitchValue(
[InAttribute] int iIndex,
[OutAttribute] String^% pbstrRawSwitchValue
)
abstract GetRawSwitchValue :
iIndex:int *
pbstrRawSwitchValue:string byref -> int
function GetRawSwitchValue(
iIndex : int,
pbstrRawSwitchValue : String
) : int
Parameters
- iIndex
Type: System.Int32
[in] Index of the switch value to return.
- pbstrRawSwitchValue
Type: System.String%
[out] Pointer to a string containing the switch value.
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::GetRawSwitchValue(
[in] int iIndex,
[out, retval] BSTR* pbstrRawSwitchValue
);
.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.