ExpansionFunction::GetCurrentValue Method (String^, Int32)

 

Gets the current value of the expansion function.

Namespace:   Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)

public:
virtual int GetCurrentValue(
	[OutAttribute] String^% bstrValue,
	[OutAttribute] int% hasDefaultValue
) sealed

Parameters

bstrValue
Type: System::String^

[out] Returns the value, if it exists, otherwise an empty string.

hasDefaultValue
Type: System::Int32

[out] Returns true if bstrValue is not null.

Return Value

Type: System::Int32

S_OK.

Return to top
Show: