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