共用方式為


ImportMetadataConstraintAttribute(String, Object) Constructor

Definition

Initializes a new instance of the ImportMetadataConstraintAttribute class.

public:
 ImportMetadataConstraintAttribute(System::String ^ name, System::Object ^ value);
public ImportMetadataConstraintAttribute (string name, object value);
new System.Composition.ImportMetadataConstraintAttribute : string * obj -> System.Composition.ImportMetadataConstraintAttribute
Public Sub New (name As String, value As Object)

Parameters

name
String

The metadata key to match.

value
Object

The metadata value to match.

Applies to