Compares two log entries and returns an indication of their relative values.

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

Syntax

C#
public int Compare(
	VGLogEntry x,
	VGLogEntry y
)
Visual Basic (Declaration)
Public Function Compare ( _
	x As VGLogEntry, _
	y As VGLogEntry _
) As Integer

Parameters

x
Type: Novalys.VisualGuard.Security.Logging..::.VGLogEntry
the first entry to compare.
y
Type: Novalys.VisualGuard.Security.Logging..::.VGLogEntry
the second entry to compare.

Return Value

Less than zero when x is less than y. Zero when x equals y. Greater than zero when x is greater than y.

Implements

IComparer<(Of <(T>)>)..::.Compare(T, T)

See Also