Udostępnij za pośrednictwem


IVsParseCommandLine.GetParamCount(Int32) Method

Definition

Gets the number of command line parameters.

public:
 int GetParamCount([Runtime::InteropServices::Out] int % piParamCount);
int GetParamCount([Runtime::InteropServices::Out] int & piParamCount);
public int GetParamCount (out int piParamCount);
abstract member GetParamCount : int -> int
Public Function GetParamCount (ByRef piParamCount As Integer) As Integer

Parameters

piParamCount
Int32

[out] Pointer to an integer containing the parameter count.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsParseCommandLine::GetParamCount(  
   [out, retval] int* piParamCount  
);  

Applies to