MultiArchive SDK .NET Documentation |
ItemSpecificationBuilder..::..CheckParameter Method |
ItemSpecificationBuilder Class See Also Send Feedback |
[This is preliminary documentation and is subject to change.]
Method for checking that the parameter specified is not null, empty or an empty list.
Namespace: MultiArchive.SDK.ServiceUtils
Assembly: MultiArchive.SDK (in MultiArchive.SDK.dll) Version: 1.2.30.413 (1.2.30.413)
Syntax
C# |
---|
public void CheckParameter( string parameterName, Object parameterValue ) |
Visual Basic |
---|
Public Sub CheckParameter ( parameterName As String, parameterValue As Object ) |
Visual C++ |
---|
public: void CheckParameter( String^ parameterName, Object^ parameterValue ) |
Parameters
- parameterName
- Type: System..::..String
The name of the parameter to check.
- parameterValue
- Type: System..::..Object
The value of the parameter to check.
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | Throws an ArgumentNullException if the parameterValue is null. |
System..::..ArgumentException | Throws an ArgumentException if the parameterValue is either an empty string or an empty list. |