Validates that the object is null or that if it is a string it contains a value and is an empty string.

Namespace: Nehta.VendorLibrary.Common
Assembly: Nehta.VendorLibrary.Common (in Nehta.VendorLibrary.Common.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public static void ValidateArgumentNotAllowed(
	string name,
	Object value
)
Visual Basic
Public Shared Sub ValidateArgumentNotAllowed ( _
	name As String, _
	value As Object _
)
Visual C++
public:
static void ValidateArgumentNotAllowed(
	String^ name, 
	Object^ value
)

Parameters

name
Type: System..::..String
The name of the argument to validate.
value
Type: System..::..Object
The value of the argument to validate.

See Also