Method RemoveAttributeDefinitionsAsync
RemoveAttributeDefinitionsAsync(IEnumerable<IAttributeDefinition?>?, bool, CancellationToken)
Removes attribute definitions
Declaration
Task RemoveAttributeDefinitionsAsync(IEnumerable<IAttributeDefinition?>? attributeDefinitions = null, bool failIfRemovingUsed = false, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<IAttributeDefinition> | attributeDefinitions | The optional requested attribute definitions to remove (null to remove all) |
| bool | failIfRemovingUsed | The optional value indicating whether to fail if the given attribute definition is used |
| CancellationToken | cancellationToken | The optional cancellation token |
Returns
| Type | Description |
|---|---|
| Task | The result of the operation |