IManageUserDefinedAttributesAddUserDefinedAttributeRepositoryItemAsync(IAttributeDefinition, String, CancellationToken) Method

Adds an item to the repository of the user defined attributes

Namespace: TSD.API.Remoting.UserDefinedAttributes
Assembly: TSD.API.Remoting (in TSD.API.Remoting.dll) Version: 24.0.1.45+53a79b69d75fb81c51fcd389e0bdcf241e5b9f7c
Syntax
Task<IUserDefinedTextAttribute?> AddUserDefinedAttributeRepositoryItemAsync(
	IAttributeDefinition? attributeDefinition,
	string? text,
	CancellationToken cancellationToken = default
)

Parameters

attributeDefinition  IAttributeDefinition
The attribute definition
text  String
The value of the new repository item
cancellationToken  CancellationToken  (Optional)
The optional cancellation token

Return Value

TaskIUserDefinedTextAttribute
An IUserDefinedTextAttribute or in case the given attribute definition doesn't allow to store the given text
See Also
Was this helpful?
The feedback you give here is not visible to other users. We use your comments to improve the content.
Previous
Next