共用方式為


DefaultFieldValue.Field Property

Returns the name of the field.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.12.0 (in Microsoft.VisualStudio.Package.LanguageService.12.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)

Syntax

'Declaration
Public ReadOnly Property Field As String
public string Field { get; }
public:
property String^ Field {
    String^ get ();
}
member Field : string with get
function get Field () : String

Property Value

Type: String
Returns the name that was passed to the DefaultFieldValue class constructor.

.NET Framework Security

See Also

Reference

DefaultFieldValue Class

Microsoft.VisualStudio.Package Namespace