IVsExpansionSession.GetFieldValue(String, String) Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
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
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.