- element
- An item in the Data Set.
Visual Basic (Declaration) | |
---|---|
Public Function GetElementLevel( _ ByVal element As DicomElement _ ) As Integer |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public int GetElementLevel( DicomElement element ) |
C++/CLI | |
---|---|
public: int GetElementLevel( DicomElement^ element ) |
Parameters
- element
- An item in the Data Set.
Return Value
The level at which the specified element is located within the Data Set.For an example, refer to Load.
This method requires that the Data Set is evaluated as a tree.
The following illustration gives an example:
If the passed object points to: | The method returns: |
---|---|
Item 1 | 0 |
Item 2 | 1 |
Item 3 | 2 |
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family