AcceleratorTypeConverter.ConvertFromInvariantString(String) Method

Definition

Converts value into a Accelerator.

public override object ConvertFromInvariantString (string value);
override this.ConvertFromInvariantString : string -> obj

Parameters

value
String

Returns

A new Accelerator initialized from value.

Remarks

value may contain a combination of "CTRL", "CMD", "ALT", "SHIFT", "FN", or "WIN", in any combination of upper or lower case letters, as well as any available keys on the platform. The returned Accelerator has its Modifiers array filled with the specifed modifiers, and its Keys array filled with the remaining keys.

Applies to