[This is preliminary documentation and is subject to change.]
Method that creates a FieldSpecification object of type Date with the specified arguments and adds it to the list of FieldSpecifications.
Namespace: MultiArchive.SDK.ServiceUtils
Assembly: MultiArchive.SDK (in MultiArchive.SDK.dll) Version: 1.2.30.413 (1.2.30.413)
Syntax
C# |
public void AddFieldSpecification(
string maFieldType,
DateTime fieldValue
)
|
Visual Basic |
Public Sub AddFieldSpecification (
maFieldType As String,
fieldValue As DateTime
)
|
Visual C++ |
public:
void AddFieldSpecification(
String^ maFieldType,
DateTime fieldValue
)
|
Parameters
-
maFieldType
- Type: System..::..String
[Missing <param name="maFieldType"/> documentation for "M:MultiArchive.SDK.ServiceUtils.ItemSpecificationBuilder.AddFieldSpecification(System.String,System.DateTime)"]
-
fieldValue
- Type: System..::..DateTime
[Missing <param name="fieldValue"/> documentation for "M:MultiArchive.SDK.ServiceUtils.ItemSpecificationBuilder.AddFieldSpecification(System.String,System.DateTime)"]
Examples
C# |
Copy
|
class TestClass
{
public static void Main()
{
ItemSpecificationBuilder myBuilder = new ItemSpecificationBuilder();
myBuilder.AddFieldSpecification("urn:multiarchive:fieldType:A42:itemtype:CUSTOMER_LETTER:DATE", DateTime.Now);
}
}
|
Exceptions
See Also