Share via


AdditionalPropertiesExtensions.Remove<T> Method

Definition

Removes a property from the additional properties dictionary using the name of the provided type as the key.

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

Type Parameters

T

The type of the property to remove.

Parameters

additionalProperties
AdditionalPropertiesDictionary

The dictionary of additional properties.

Returns

true if the property was successfully removed; otherwise, false.

Applies to