Determines whether a property is negative.
Namespace: DotNetNuke.CommonAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
| C# |
|---|
public static void PropertyNotNegative<T>( T item, string propertyName ) |
| Visual Basic |
|---|
Public Shared Sub PropertyNotNegative(Of T) ( item As T, propertyName As String ) |
Type Parameters
- T
- typeparamTM:DotNetNuke.Common.Requires.PropertyNotNegative``1(``0,System.String)
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentOutOfRangeException |