A MIDI Library for .NET

ControlExtensionMethods.Validate Method

Throws an exception if control is not valid.

[Extension]
public static void Validate(
   this Control control
);

Parameters

control
The control to validate.

Exceptions

Exception Type Condition
ArgumentOutOfRangeException The control is out-of-range.

See Also

ControlExtensionMethods Class | Midi Namespace