ExpansionFunction::GetCurrentValue Method ()
Visual Studio 2015
Gets the current value of the expansion function as a string.
Assembly: Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)
You must implement this method in a class derived from the ExpansionFunction class in order to provide a value for an expansion function. Your implementation of this method can call the GetArgument method to obtain values for any arguments the expansion function may have. Returning a null value indicates that the expansion function could not be evaluated (in which case the default value of the field is shown).
Show: