AdditionalPropertiesExtensions.Contains<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.
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.