共用方式為


DefaultFieldValue.Field Property

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Returns the name of the field.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.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

'宣告
Public ReadOnly Property Field As String
    Get
'用途
Dim instance As DefaultFieldValue
Dim value As String

value = instance.Field
public string Field { get; }
public:
property String^ Field {
    String^ get ();
}
member Field : string
function get Field () : String

Property Value

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

.NET Framework Security

See Also

Reference

DefaultFieldValue Class

DefaultFieldValue Members

Microsoft.VisualStudio.Package Namespace