IVsExpansionSession::GetFieldValue Method (String^, String^)

 

Retrieves the value of the specified field.

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

int GetFieldValue(
	String^ bstrFieldName,
	[OutAttribute] String^% pbstrValue
)

Parameters

bstrFieldName
Type: System::String^

[in] A string containing the name of the field.

pbstrValue
Type: System::String^

[out] Returns a string containing the value of the field.

Return Value

Type: System::Int32

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

From textmgr2.idl:

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

The value returned is the current value of the field.

Return to top
Show: