Sets the value for TM, DTM and DT type fields.
Namespace:
Mergecom.HL7Assembly: Mergecom.HL7 (in Mergecom.HL7.dll) Version: 4.2.0.0
Syntax
| C# |
|---|
public virtual void SetValue( ref DateTime val, int precision ) |
| Visual Basic (Declaration) |
|---|
Public Overridable Sub SetValue ( _ ByRef val As DateTime, _ precision As Integer _ ) |
| Visual C++ |
|---|
public: virtual void SetValue( DateTime% val, int precision ) |
Parameters
- val
- Type:
System..::.DateTime
%
A reference of DateTime structure representing the value to set.
- precision
- Type: System..::.Int32
The maximum number of characters in the value.
Exceptions
| Exception | Condition |
|---|---|
| HL7Exception..::.INVALID_DATA_TYPE | If the data type is undefined |
