Provides data for the CheckVersion event.

Namespace:  Novalys.VisualGuard.Security
Assembly:  Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 3.2.912.1 (3.2.912.01)

Syntax

C#
public class VGCheckVersionEventArgs : EventArgs
Visual Basic (Declaration)
Public Class VGCheckVersionEventArgs _
	Inherits EventArgs

Examples

This example display how to use the event CheckVersion to allow the user select a roles in the list of granted roles.
CopyVB.NET
Private Sub OnCheckVersion(ByVal sender As Object, ByVal e As VGCheckVersionEventArgs)
    If e.Version < new Version(1,2,0,0) Then
        e.Cancel = true
    End If
End Sub
CopyC#
private void OnCheckVersion (object sender, VGCheckVersionEventArgs args)
{
    if (e.Version < new Version(1,2,0,0))
    {
        e.Cancel = true
    }
}

Inheritance Hierarchy

System..::.Object
  System..::.EventArgs
    Novalys.VisualGuard.Security..::.VGCheckVersionEventArgs

See Also