ExpansionFunction.FieldName Property

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

Namespace:  Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)

Syntax

'宣言
Public Property FieldName As String
'使用
Dim instance As ExpansionFunction
Dim value As String

value = instance.FieldName

instance.FieldName = value
public string FieldName { get; set; }
public:
property String^ FieldName {
    String^ get ();
    void set (String^ value);
}
public function get FieldName () : String
public 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.

Permissions

See Also

Reference

ExpansionFunction Class

ExpansionFunction Members

Microsoft.VisualStudio.Package Namespace