Click or drag to resize
MimeKit

IMailFolderStore(Int32, IStoreLabelsRequest, CancellationToken) Method

Store GMail-style labels for a message.

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 4.7.1
Syntax
C#
bool Store(
	int index,
	IStoreLabelsRequest request,
	CancellationToken cancellationToken = default
)

Parameters

index  Int32
The index of the message.
request  IStoreLabelsRequest
The labels to store.
cancellationToken  CancellationToken  (Optional)
The cancellation token.

Return Value

Boolean
true if the store operation was successful; otherwise, false.
Remarks
Updates the GMail-style labels for a message.
See Also