SetOptions Method (IAdminOptionsPropertyPage)

Top  Previous  Next

This method is called by MZ-Tools when the property page must retrieve values from the user interface controls and set the values of the AdminOptionsBase derived class.

Signature

[VB.NET]

Sub SetOptions(ByVal adminOptions As AdminOptionsBase, ByRef cancel As Boolean, ByRef cancellationReason As String)

[C#]

void SetOptions(AdminOptionsBase adminOptions, ref bool cancel, ref string cancellationReason)

Parameters

  • adminOptions: the instance of a class derived from AdminOptionsBase that the operation is using.
  • cancel: if the method returns true in this parameter, the retrieval of values is cancelled. Typically this can happen if some value is not valid.
  • cancellationReason: message that will be shown to the user about the cancellation.