DefaultFieldValue Constructor
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Initializes a new instance of the DefaultFieldValue class.
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
'Dichiarazione
Public Sub New ( _
field As String, _
value As String _
)
'Utilizzo
Dim field As String
Dim value As String
Dim instance As New DefaultFieldValue(field, value)
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: System.String
[in] A string containing the name of the field.
- value
Type: System.String
[in] A string containing the value of the field.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.