DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomDataSet Class / ValidationDataSet Property






ValidationDataSet Property
Assign a Validation DataSet to this property would override the DataSet's Validation scheme. This is mainly used for validation of CharacterSet.
Syntax
'Declaration
 
Public Property ValidationDataSet As DicomDataSet
 
'Usage
 
Dim instance As DicomDataSet
Dim value As DicomDataSet
 
instance.ValidationDataSet = value
 
value = instance.ValidationDataSet
Remarks

This property provides a means to override the CharacterSet validation of the DataSet within a sequence, which is added onto another DataSet, value of which should be passed to this property.

Example

Dim sequence As New DicomObjects.DicomDataSetCollection

Dim sequenceItem As New DicomObjects.DicomDataSet

Dim d As New DicomObjects.DicomDataSet

d.ValidationTypes = ValidationTypes.CharacterSet

d.Add(&H8, &H5, "ISO_IR 100")

sequenceItem.ValidationTypes = ValidationTypes.CharacterSet

sequenceItem.ValidationDataSet = d

sequenceItem.Name = "C�nan"

d.Add(&H88, &H200, sequence)

Requirements

Target Platforms: .NET CLR 4.8 or higher

See Also