Ler em inglês Editar

Partilhar via


ExportDefinition.Metadata Property

Definition

Gets the contract metadata.

C#
public virtual System.Collections.Generic.IDictionary<string,object?> Metadata { get; }
C#
public virtual System.Collections.Generic.IDictionary<string,object> Metadata { get; }

Property Value

The metadata of the ExportDefinition. The default is an empty, read-only IDictionary<TKey,TValue> object.

Remarks

Overrides of this property should return a read-only IDictionary<TKey,TValue> object with a case-sensitive, non-linguistic comparer, such as Ordinal, and should never return null.

If the ExportDefinition does not contain metadata, return an empty IDictionary<TKey,TValue> instead.

Applies to

Produto Versões
.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)