This validation method performs a check to ensure that only one of the items within the passed in key value pair is not null or empty in the case of a string

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

Syntax

C#
public bool ChoiceCheck(
	Dictionary<string, Object> nameValues
)
Visual Basic
Public Function ChoiceCheck ( _
	nameValues As Dictionary(Of String, Object) _
) As Boolean
Visual C++
public:
bool ChoiceCheck(
	Dictionary<String^, Object^>^ nameValues
)

Parameters

nameValues
Type: System.Collections.Generic..::..Dictionary<(Of <(<'String, Object>)>)>
The key value pair of items to check

Return Value

A boolean indicating if the validation passed

See Also