ExportMetadataAttribute(String, Object) 构造函数

定义

使用指定的名称和元数据值初始化类的新实例 ExportMetadataAttribute

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

参数

name
String

包含元数据值名称的字符串,或 nullName 属性设置为空字符串(“)。

value
Object

包含元数据值的对象。 它可以是 null

适用于