Skip to content

M_Ifp_Validation_ValidationSeverity_CompareTo

Martin Strecker edited this page Mar 9, 2019 · 6 revisions

ValidationSeverity.CompareTo Method

Implements IComparable(T). Compares two ValidationSeverity objects by delegating to SeverityAsNumber.

Namespace: Ifp.Validation
Assembly: Ifp.Validation (in Ifp.Validation.dll) Version: 1.4.0

Syntax

C#

public virtual int CompareTo(
	ValidationSeverity other
)

VB

Public Overridable Function CompareTo ( 
	other As ValidationSeverity
) As Integer

C++

public:
virtual int CompareTo(
	ValidationSeverity^ other
)

F#

abstract CompareTo : 
        other : ValidationSeverity -> int 
override CompareTo : 
        other : ValidationSeverity -> int 

Parameters

 

other
Type: Ifp.Validation.ValidationSeverity
The other ValidationSeverity to compare to.

Return Value

Type: Int32
Returns a number indicating smaller, greater or equals as described by IComparable(T).

Implements

IComparable(T).CompareTo(T)

See Also

Reference

ValidationSeverity Class
Ifp.Validation Namespace

Clone this wiki locally