IVsExpansionSession.GetFieldValue(String, String) Método

Definição

Recupera o valor do campo especificado.

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

Parâmetros

bstrFieldName
String

no Uma cadeia de caracteres que contém o nome do campo.

pbstrValue
String

fora Retorna uma cadeia de caracteres que contém o valor do campo.

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 textmgr2. idl:

HRESULT IVsExpansionSession::GetFieldValue(  
   [in]BSTR bstrFieldName,  
   [out]BSTR *pbstrValue  
);  

O valor retornado é o valor atual do campo.

Aplica-se a