This validation method performs a check to ensure that the object passed in is not null or empty in the
case of a string
Namespace: Nehta.VendorLibrary.CommonAssembly: Nehta.VendorLibrary.Common (in Nehta.VendorLibrary.Common.dll) Version: 3.0.2.0 (1.0.0.0)
Syntax
C# |
---|
public bool ArgumentRequiredCheck( string name, Object value, string message ) |
Visual Basic |
---|
Public Function ArgumentRequiredCheck ( _ name As String, _ value As Object, _ message As String _ ) As Boolean |
Visual C++ |
---|
public: bool ArgumentRequiredCheck( String^ name, Object^ value, String^ message ) |
Parameters
- name
- Type: System..::..String
The property name
- value
- Type: System..::..Object
The collection to check
- message
- Type: System..::..String
The validation message to display