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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.