Share via


AdditionalPropertiesExtensions.Contains<T> Method

Definition

Determines whether the additional properties dictionary contains a property with the name of the provided type as the key.

public static bool Contains<T>(this Microsoft.Extensions.AI.AdditionalPropertiesDictionary additionalProperties);
static member Contains : Microsoft.Extensions.AI.AdditionalPropertiesDictionary -> bool
<Extension()>
Public Function Contains(Of T) (additionalProperties As AdditionalPropertiesDictionary) As Boolean

Type Parameters

T

The type of the property to check for.

Parameters

additionalProperties
AdditionalPropertiesDictionary

The dictionary of additional properties.

Returns

true if the dictionary contains a property with the name of the provided type as the key; otherwise, false.

Applies to