Method SetAttributeDefinitionAsync

SetAttributeDefinitionAsync(IAttributeDefinition?, SetAttributeDefinitionParams?, bool, CancellationToken)

Sets the given attribute definition

Declaration
Task SetAttributeDefinitionAsync(IAttributeDefinition? attributeDefinition, SetAttributeDefinitionParams? attributeDefinitionParams, bool failIfRemovingUsedValue = false, CancellationToken cancellationToken = default)
Parameters
Type Name Description
IAttributeDefinition attributeDefinition

The attribute definition to set

SetAttributeDefinitionParams attributeDefinitionParams

The parameters of the attribute definition

bool failIfRemovingUsedValue

The optional value indicating whether to fail if the Values property of the given attributeDefinitionParams doesn't include all used values

CancellationToken cancellationToken

The optional cancellation token

Returns
Type Description
Task

The result of the operation

Was this helpful?
The feedback you give here is not visible to other users. We use your comments to improve the content.
Previous
Next