Op Englesch liesen Editéieren

Deelen iwwer


PartMetadataAttribute(String, Object) Constructor

Definition

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

C#
public PartMetadataAttribute(string? name, object? value);
C#
public PartMetadataAttribute(string name, object value);

Parameters

name
String

A string that contains the name of the metadata value or null to use an empty string ("").

value
Object

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

Applies to

Produkt Versiounen
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)