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, by index, whether or not a specific switch has a value.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function SwitchHasValue ( _
iIndex As Integer _
) As Integer
'Usage
Dim instance As IVsParseCommandLine
Dim iIndex As Integer
Dim returnValue As Integer
returnValue = instance.SwitchHasValue(iIndex)
int SwitchHasValue(
int iIndex
)
int SwitchHasValue(
[InAttribute] int iIndex
)
abstract SwitchHasValue :
iIndex:int -> int
function SwitchHasValue(
iIndex : int
) : int
Parameters
- iIndex
Type: System.Int32
[in] Integer. The index of the switch to check.
Return Value
Type: System.Int32
If the switch has no value, returns S_OK. Otherwise, returns E_FAIL.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsParseCommandLine::SwitchHasValue(
[in] int iIndex
);
.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.