Table of Contents

Method ToString

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

ToString(FormatOptions)

Converts the object to its string representation based on the specified formatting options.

public virtual string? ToString(ShortcutInfo.FormatOptions options)

Parameters

options ShortcutInfo.FormatOptions

The formatting options to apply when generating the string representation. This includes settings such as whether to use a template and user-specific formatting preferences.

Returns

string

A string representation of the object based on the provided options, or null if no valid key information is available.

Remarks

The method applies the specified formatting options to the first valid key in the filtered key information. If a template is specified in the options, it is used to format the output string.