openDICOM.NET API Reference (openDICOM# Class Library)

DataSet Members

DataSet overview

Public Instance Constructors

DataSet Overloaded. Initializes a new instance of the DataSet class.

Public Instance Properties

Count (inherited from Sequence) Returns count of DICOM data elements.
IsEmpty (inherited from Sequence) Returns whether this instance contains DICOM data elements.
ItemOverloaded. Access of a DICOM data set instance as array of DataElement. The index is a DICOM tag.
StreamPosition (inherited from Sequence) Returns this instance's position within a DICOM data stream. If this instance has not get in contact with a DICOM stream, no position will be marked and -1 will be returned.
TransferSyntax (inherited from Sequence) Access corresponding DICOM transfer syntax. If null is assinged, the DICOM default transfer syntax will be used instead.

Public Instance Methods

AddOverloaded. Adds a new DICOM data element to this data set instance. Multiple data elements of the same DICOM tag are not allowed within a data set. Uniqueness is guaranteed by DICOM tags.
Add (inherited from Sequence)Overloaded. Adds a DICOM data element instance to this instance. Multiple data elements of equal instances are allowed within a sequence.
Clear Clears all DICOM data set properties.
Contains Determines whether this data set instance contains a data element with specified DICOM tag.
Equals (inherited from Object) 
GetEnumerator (inherited from Sequence) Needed by the C# foreach-statement. Makes life easier.
GetHashCode (inherited from Object) 
GetJointSubsequences Returns all sequences of all levels of a data set tree as one concatenated zero-level sequence. Multiple data elements of equal instances are allowed within a DICOM sequence.
GetType (inherited from Object) 
LoadFrom Re-creates a new DICOM data set instance and fills it from specified DICOM output stream using TransferSyntax.
Sort Sorts all data elements of a data set instance by their DICOM tag in ascending order.
ToArray (inherited from Sequence) Returns all containing data elements as array of DataElement.
ToString (inherited from Object) 

Protected Instance Fields

itemList (inherited from Sequence) 
streamPosition (inherited from Sequence) 

Protected Instance Methods

Finalize (inherited from Object) 
MemberwiseClone (inherited from Object) 

See Also

DataSet Class | openDicom.DataStructure.DataSet Namespace