ShellLinkSpecification record

Namespace Runic.Platform.Administration.Windows.Shortcuts · Runic.Platform.Administration.Windows 0.7.0-preview.5

public sealed record ShellLinkSpecification : IEquatable<ShellLinkSpecification>

Inherits or implements IEquatable.

A new shell link. TargetPath is required; no parent directory is created implicitly.

Constructors

ShellLinkSpecification

public ShellLinkSpecification(string TargetPath)

A new shell link. TargetPath is required; no parent directory is created implicitly.

Properties

Arguments

public string Arguments { get; init; }

Command-line arguments passed verbatim.

Description

public string Description { get; init; }

Descriptive text.

Hotkey

public ushort Hotkey { get; init; }

Native virtual-key/modifier word, or zero for no hotkey.

Icon

public ShellLinkIcon Icon { get; init; }

Icon location; an empty path requests the target's default icon.

ShowState

public ShellLinkShowState ShowState { get; init; }

Window presentation.

TargetPath

public string TargetPath { get; init; }

No documentation.

WorkingDirectory

public string WorkingDirectory { get; init; }

Working directory, or empty for the shell default.