ExpansionFunction::GetDefaultValue Method (String^, Int32)

 

Gets the default 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 GetDefaultValue(
	[OutAttribute] String^% bstrValue,
	[OutAttribute] int% hasCurrentValue
) sealed

Parameters

bstrValue
Type: System::String^

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

hasCurrentValue
Type: System::Int32

[out] Returns true if bstrValue is not null.

Return Value

Type: System::Int32

S_OK.

Return to top
Show: