'Declaration
<JetBrains.Annotations.MustUseReturnValueAttribute()> <JetBrains.Annotations.PureAttribute()> Public Overloads Shared Function IsValidEventSeverity( _ ByVal eventSeverity As Integer, _ ByVal allowZero As Boolean _ ) As Boolean
'Usage
Dim eventSeverity As Integer Dim allowZero As Boolean Dim value As Boolean value = AEUtilities.IsValidEventSeverity(eventSeverity, allowZero)
[JetBrains.Annotations.MustUseReturnValue()] [JetBrains.Annotations.Pure()] public static bool IsValidEventSeverity( int eventSeverity, bool allowZero )
[JetBrains.Annotations.MustUseReturnValue()] [JetBrains.Annotations.Pure()] public: static bool IsValidEventSeverity( int eventSeverity, bool allowZero )
Parameters
- eventSeverity
- The event severity to be tested.
- allowZero
- Indicates that zero represents a valid event severity for the test.
Return Value
true
if eventSeverity is a valid event severity; false
otherwise.
This return value of this method should not be ignored.