DicomObjects.NetStandard Documentation
DicomObjects Namespace / DicomDataSet Class / ValidationDataSet Property



In This Topic
    ValidationDataSet Property
    In This Topic
    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
    public DicomDataSet ValidationDataSet {get; set;}
    public:
    property DicomDataSet^ ValidationDataSet {
       DicomDataSet^ get();
       void set (    DicomDataSet^ value);
    }
    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.ValidationOptions = ValidationOptions.CharacterSet

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

    sequenceItem.ValidationOptions = ValidationOptions.CharacterSet

    sequenceItem.ValidationDataSet = d

    sequenceItem.Name = "C�nan"

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

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also