ExpansionFunction.FieldName Property

Gets or sets the name of the field with which this expansion function is associated.

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 Property FieldName As String
public string FieldName { get; set; }
public:
property String^ FieldName {
    String^ get ();
    void set (String^ value);
}
member FieldName : string with get, set
function get FieldName () : String 
function set FieldName (value : String)

Property Value

Type: System.String
The name of the field with which this expansion function is associated.

Remarks

When a field name's value is to be displayed in the code snippet, the associated expansion function is executed to get that value.

.NET Framework Security

See Also

Reference

ExpansionFunction Class

Microsoft.VisualStudio.Package Namespace