Share via


ExpansionFunction.GetDefaultValue Method

Gets the default value of the expansion function.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)

Syntax

'Declaration
Public Overridable Function GetDefaultValue As String
public virtual string GetDefaultValue()
public:
virtual String^ GetDefaultValue()
abstract GetDefaultValue : unit -> string  
override GetDefaultValue : unit -> string
public function GetDefaultValue() : String

Return Value

Type: System.String
The default value, if it exists, otherwise nulla null reference (Nothing in Visual Basic).

Remarks

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

.NET Framework Security

See Also

Reference

ExpansionFunction Class

GetDefaultValue Overload

Microsoft.VisualStudio.Package Namespace