IVsParseCommandLine.GetACParam(Int32, Int32, Int32, String) Método

Definição

Recupera um item de linha de comando de preenchimento automático.

public:
 int GetACParam([Runtime::InteropServices::Out] int % piACIndex, [Runtime::InteropServices::Out] int % piACStart, [Runtime::InteropServices::Out] int % pcchACLength, [Runtime::InteropServices::Out] System::String ^ % pbstrACParam);
int GetACParam([Runtime::InteropServices::Out] int & piACIndex, [Runtime::InteropServices::Out] int & piACStart, [Runtime::InteropServices::Out] int & pcchACLength, [Runtime::InteropServices::Out] std::wstring const & & pbstrACParam);
public int GetACParam (out int piACIndex, out int piACStart, out int pcchACLength, out string pbstrACParam);
abstract member GetACParam : int * int * int * string -> int
Public Function GetACParam (ByRef piACIndex As Integer, ByRef piACStart As Integer, ByRef pcchACLength As Integer, ByRef pbstrACParam As String) As Integer

Parâmetros

piACIndex
Int32

fora Ponteiro para um índice que indica se há um item de preenchimento automático. Defina como PCL_AUTO_COMMANDS se houver itens de conclusão automática.

piACStart
Int32

fora Ponteiro para o início do item de preenchimento automático no buffer de linha de comando.

pcchACLength
Int32

fora Ponteiro para o comprimento do item de preenchimento automático.

pbstrACParam
String

fora Ponteiro para uma cadeia de caracteres que contém o parâmetro de conclusão automática atual.

Retornos

Int32

Se o método for bem-sucedido, retornará S_OK. Se falhar, retornará um código de erro.

Comentários

Assinatura COM

De VSShell. idl:

HRESULT IVsParseCommandLine::GetACParam(  
   [out] int* piACIndex,   
   [out] int* piACStart,   
   [out] int* pcchACLength,   
   [out, retval] BSTR* pbstrACParam  
);  

Aplica-se a