AdditionalMetadataAttribute Constructor
Initializes a new instance of the AdditionalMetadataAttribute class.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public Sub New ( _
name As String, _
value As Object _
)
'Usage
Dim name As String
Dim value As Object
Dim instance As New AdditionalMetadataAttribute(name, value)
public AdditionalMetadataAttribute(
string name,
Object value
)
public:
AdditionalMetadataAttribute(
String^ name,
Object^ value
)
public function AdditionalMetadataAttribute(
name : String,
value : Object
)
Parameters
- name
Type: System.String
The name of the model metadata.
- value
Type: System.Object
The value of the model metadata.