AdditionalPropertiesDictionary<TValue>.Clone Method

Definition

Creates a shallow clone of the properties dictionary.

C#
public Microsoft.Extensions.AI.AdditionalPropertiesDictionary<TValue> Clone();

Returns

A shallow clone of the properties dictionary. The instance will not be the same as the current instance, but it will contain all of the same key-value pairs.

Applies to

Product Versions
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Standard 2.0 (package-provided)