Compartilhar via


DefaultFieldValue Constructor

Initializes a new instance of the DefaultFieldValue class.

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 Sub New ( _
    field As String, _
    value As String _
)
public DefaultFieldValue(
    string field,
    string value
)
public:
DefaultFieldValue(
    String^ field, 
    String^ value
)
new : 
        field:string * 
        value:string -> DefaultFieldValue
public function DefaultFieldValue(
    field : String, 
    value : String
)

Parameters

  • field
    Type: String

    [in] A string containing the name of the field.

  • value
    Type: String

    [in] A string containing the value of the field.

.NET Framework Security

See Also

Reference

DefaultFieldValue Class

Microsoft.VisualStudio.Package Namespace