Validates that the array contains at least one element.

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 ValidateArgumentRequired(
	string name,
	Object[] array
)
Visual Basic
Public Shared Sub ValidateArgumentRequired ( _
	name As String, _
	array As Object() _
)
Visual C++
public:
static void ValidateArgumentRequired(
	String^ name, 
	array<Object^>^ array
)

Parameters

name
Type: System..::..String
The name of the argument to validate.
array
Type: array<System..::..Object>[]()[][]
The value of the argument to validate.

See Also