This documentation is archived and is not being maintained.

ValidationEventHandler Delegate

Represents the method that handles the ValidationEventArgs.

[Visual Basic]
<Serializable>
Public Delegate Sub ValidationEventHandler( _
   ByVal sender As Object, _
   ByVal e As ValidationEventArgs _
)
[C#]
[Serializable]
public delegate void ValidationEventHandler(
   object sender,
   ValidationEventArgs e
);
[C++]
[Serializable]
public __gc __delegate void ValidationEventHandler(
   Object* sender,
   ValidationEventArgs* e
);

[JScript] In JScript, you can use the delegates in the .NET Framework, but you cannot define your own.

Parameters [Visual Basic, C#, C++]

The declaration of your event handler must have the same parameters as the ValidationEventHandler delegate declaration.

Requirements

Namespace: System.Xml.Schema

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: System.Xml (in System.Xml.dll)

See Also

System.Xml.Schema Namespace

Show: