AdditionalPropertiesExtensions.Add<T> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds an additional property using the type name of the property as the key.
public static void Add<T>(this Microsoft.Extensions.AI.AdditionalPropertiesDictionary additionalProperties, T value);
static member Add : Microsoft.Extensions.AI.AdditionalPropertiesDictionary * 'T -> unit
<Extension()>
Public Sub Add(Of T) (additionalProperties As AdditionalPropertiesDictionary, value As T)
Type Parameters
- T
The type of the property to add.
Parameters
- additionalProperties
- AdditionalPropertiesDictionary
The dictionary of additional properties.
- value
- T
The value to add.