IVsParseCommandLine::GetACParam Method (Int32, Int32, Int32, String^)
Visual Studio 2015
Retrieves an auto completion command line item.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
int GetACParam( [OutAttribute] int% piACIndex, [OutAttribute] int% piACStart, [OutAttribute] int% pcchACLength, [OutAttribute] String^% pbstrACParam )
Parameters
- piACIndex
-
Type:
System::Int32
[out] Pointer to an index indicating whether or not there is an auto completion item. Set to PCL_AUTO_COMMANDS if there are auto completion items.
- piACStart
-
Type:
System::Int32
[out] Pointer to the beginning of the auto completion item in the command line buffer.
- pcchACLength
-
Type:
System::Int32
[out] Pointer to the length of the auto completion item.
- pbstrACParam
-
Type:
System::String^
[out] Pointer to a string containing the current auto completion parameter.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsParseCommandLine::GetACParam( [out] int* piACIndex, [out] int* piACStart, [out] int* pcchACLength, [out, retval] BSTR* pbstrACParam );
Show: