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 the number of switch values on the command line.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function GetSwitchValueCount ( _
<OutAttribute> ByRef piSwitchValueCount As Integer _
) As Integer
'Usage
Dim instance As IVsParseCommandLine
Dim piSwitchValueCount As Integer
Dim returnValue As Integer
returnValue = instance.GetSwitchValueCount(piSwitchValueCount)
int GetSwitchValueCount(
out int piSwitchValueCount
)
int GetSwitchValueCount(
[OutAttribute] int% piSwitchValueCount
)
abstract GetSwitchValueCount :
piSwitchValueCount:int byref -> int
function GetSwitchValueCount(
piSwitchValueCount : int
) : int
Parameters
- piSwitchValueCount
Type: System.Int32%
[out] Pointer to an integer containing the number of switch values.
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::GetSwitchValueCount(
[out, retval] int* piSwitchValueCount
);
.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.