Determines whether a property is negative.

Namespace: DotNetNuke.Common
Assembly: 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
)

Parameters

item
Type: T
The object to test.
propertyName
Type: System..::..String
Name of the property.

Type Parameters

T
typeparamTM:DotNetNuke.Common.Requires.PropertyNotNegative``1(``0,System.String)

Exceptions

See Also