ExportMetadataAttribute(String, Object) Constructor

Definition

Initializes a new instance of the ExportMetadataAttribute class with the specified name and metadata value.

public ExportMetadataAttribute (string name, object value);

Parameters

name
String

A string that contains the name of the metadata value, or null to set the Name property to an empty string ("").

value
Object

An object that contains the metadata value. This can be null.

Applies to

Продукт Версии
.NET Core 1.1, 8 (package-provided), 9 (package-provided)
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)