ImageGear for .NET
LookUp(Enum[]) Method
See Also  Example Send Feedback
ImageGear21.Core Assembly > ImageGear.Core Namespace > ImGearMetadataNodeList Class > LookUp Method : LookUp(Enum[]) Method




path
Path to a data element in the metadata structure.

Glossary Item Box

Searches the node list recursively for a node, according to the path parameter.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Parameters

path
Path to a data element in the metadata structure.

Return Value

Instanse of ImGearMetadataNode class object.

Remarks

Length of the path should correspond to the metadata structure depth, at which the desired node is located.

If a node is not present, the method returns null.

The method does not search in the subtrees of the node list.

Example

C#Copy Code
System.Enum[] path = new Enum[]
 {
     ImGearDICOMTagsIDs.DataSet,
     ImGearDICOMTagsIDs.DeviceSequence,
     ImGearDICOMTagsIDs.Item,
     ImGearDICOMTagsIDs.CodeValue
 };
ImGearMetadataNode Node = rootNode.Children.LookUp(path);
Visual BasicCopy Code
Dim path(3) As System.Enum
path(0) = ImGearDICOMTagsIDs.DataSet
path(1) = ImGearDICOMTagsIDs.DeviceSequence
path(2) = ImGearDICOMTagsIDs.Item
path(3) = ImGearDICOMTagsIDs.CodeValue
Dim Node As ImGearMetadataNode = rootNode.Children.LookUp(path)

See Also

©2013. Accusoft Corporation. All Rights Reserved.