DicomObjects.NET.8.48 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 read-write property ValidationDataSet: DicomDataSet; 
    public function get,set ValidationDataSet : DicomDataSet
    public: __property DicomDataSet* get_ValidationDataSet();
    public: __property void set_ValidationDataSet( 
       DicomDataSet* value
    );
    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.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