ExportMetadataAttribute(String, Object) Konstruktor

Definicja

Inicjuje nowe wystąpienie obiektu ExportMetadataAttribute z określoną nazwą i wartością metadanych.

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

Parametry

name
String

Ciąg, który zawiera nazwę wartości metadanych lub null ustawić Name właściwość na pusty ciąg ("").

value
Object

Obiekt, który zawiera wartość metadanych. Może to być null.

Dotyczy