.

ConfigSaver.PropertyErrorEventHandler

This is the data type of the PropertyErrorEvent member. A variable can be defined as this type and assigned a value of a function.

Version History

Introduced in MPX 2.0.

Result

Void

Arguments

 
Argument Type Description
sender ConfigSaver The object that triggered the event.
e ConfigSavePropertyErrorEventArgs An object that contains the event data

Visual Basic

Syntax

Delegate Sub PropertyErrorEventHandler(ByVal sender As Mpx.ConfigSaver, ByVal args As Mpx.ConfigSavePropertyErrorEventArgs)

Sample Code

 
Dim saver As Mpx.ConfigSaver = New Mpx.ConfigSaver

Dim saverPropertyErrorEvent 
As Mpx.ConfigSaver.PropertyErrorEventHandler 
 = AddressOf OnSavePropertyError
AddHandler saver.PropertyErrorEvent, saverPropertyErrorEvent


Sample Application

 

C#

Syntax

delegate void PropertyErrorEventHandler (
   ConfigSaver sender,
   ConfigSavePropertyErrorEventArgs e
)

Sample Code

 
Mpx.ConfigSaver saver = new Mpx.ConfigSaver();
Mpx.ConfigSaver.PropertyErrorEventHandler saverPropertyErrorEvent;
saverPropertyErrorEvent = OnSavePropertyError;
saver.PropertyErrorEvent += saverPropertyErrorEvent;

 

See Also

ConfigSaver
PropertyErrorEvent
ConfigSavePropertyErrorEventArgs

 

       Legal Notice  |  Tech Email  |  Feedback
      
Copyright ©
2001-2021 Motion Engineering