Table of Contents

Method ParseAndHasArgument

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

ParseAndHasArgument(string)

Parses command line args of the application and checks if the specified argument exists.

public static bool ParseAndHasArgument(string prmName)

Parameters

prmName string

Command line argument name. Example: -IsDark.

Returns

bool

True if the argument exists, otherwise false.