ExpansionFunction::FieldChanged Method (String^, Int32)
Visual Studio 2015
Called when a field has changed its value.
Assembly: Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)
Parameters
- bstrField
-
Type:
System::String^
[in] The name of the field that was changed.
- fRequeryValue
-
Type:
System::Int32
[out] Returns nonzero if the expansion function depends on the value of the specified field and needs to be re-queried; otherwise, returns zero.
This method is called to determine if the expansion function needs to recalculate its value if the value depends on the specified field.
This method is an implementation of the FieldChanged method on the IVsExpansionFunction interface.
The base method searches the list of arguments for a matching field. If the field is found, the base method set fRequiryFunction to 1 and returns S_OK; otherwise, the base method sets fRequiryFunction to 0 and returns S_OK.
Show: