-
Notifications
You must be signed in to change notification settings - Fork 4
GetLabelsOfBoardAsync
Rasmus Wulff Jensen edited this page Nov 1, 2023
·
4 revisions
Get a list of Labels defined for a board
/// <summary>
/// Get a list of Labels defined for a board
/// </summary>
/// <param name="boardId">Id of the Board (in its long or short version)</param>
/// <param name="cancellationToken">Cancellation Token</param>
/// <returns>List of Labels</returns>
public async Task<List<Label>> GetLabelsOfBoardAsync(string boardId, CancellationToken cancellationToken = default) {...}
var boardId = "63c939a5cea0cb006dc9e88b";
List<Label> allLabelsOnBoard = await _trelloClient.GetLabelsOfBoardAsync(boardId);
If you are looking for info on a specific method in TrelloDotNet then expand the Pages above and input the 'MethodName' (Example: 'AddCardAsync')