ExpansionFunction.GetDefaultValue Method

Gets the default value of the expansion function.

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

Syntax

'宣言
Public Overridable Function GetDefaultValue As String
'使用
Dim instance As ExpansionFunction
Dim returnValue As String

returnValue = instance.GetDefaultValue()
public virtual string GetDefaultValue()
public:
virtual String^ GetDefaultValue()
public function GetDefaultValue() : String

Return Value

Type: System.String

The default value, if it exists, otherwise a null reference (Nothing in Visual Basic).

Remarks

The base method returns the value returned from a call to the GetCurrentValue method.

Permissions

See Also

Reference

ExpansionFunction Class

ExpansionFunction Members

GetDefaultValue Overload

Microsoft.VisualStudio.Package Namespace