Table of Contents

Method GetText

Namespace
LMKit.Data
Assembly
LM-Kit.NET.dll

GetText(CancellationToken)

Extracts and returns the textual content from the attachment.

public string GetText(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A token to monitor for cancellation requests.

Returns

string

A string containing the textual content of the attachment, or an empty string if no text could be extracted.