[This is preliminary documentation and is subject to change.]
Method for making sure that the specified fieldtype and fieldvalue conforms to the restrictions of the type specified by the MultiArchive webservice.
Namespace: MultiArchive.SDK.ServiceUtils
Assembly: MultiArchive.SDK (in MultiArchive.SDK.dll) Version: 1.2.30.413 (1.2.30.413)
Syntax
C# |
public void CheckFieldType(
Fieldtypes fieldType,
string maFieldType,
string fieldValue
)
|
Visual Basic |
Public Sub CheckFieldType (
fieldType As Fieldtypes,
maFieldType As String,
fieldValue As String
)
|
Visual C++ |
public:
void CheckFieldType(
Fieldtypes fieldType,
String^ maFieldType,
String^ fieldValue
)
|
Parameters
-
fieldType
- Type: Fieldtypes
The fieldtype to be verified. Based on the com.multisupport.wsproxy.fieldtypes enum.
-
maFieldType
- Type: System..::..String
The MultiArchive fieldtype to be validated.
-
fieldValue
- Type: System..::..String
The value of the fieldtype to be validated.
Exceptions
Exception |
Condition |
System..::..ArgumentException
|
Throws an ArgumentException under the following circumstances:
- if the fieldValue is a numric type but cannot be parsed as an integer.
- if the fieldValue is a decimal type but cannot be parsed as a decimal.
- when the specified date in fieldValue does not conform to the ISO-8601 date format (yyyy-MM-dd).
|
See Also