ImageGear23.Core Assembly > ImageGear.Core Namespace > ImGearMetadataNodeList Class > LookUp Method : LookUp(Enum[]) Method |
'Declaration Public Overloads Function LookUp( _ ByVal path() As Enum _ ) As ImGearMetadataNode
'Usage Dim instance As ImGearMetadataNodeList Dim path() As Enum Dim value As ImGearMetadataNode value = instance.LookUp(path)
public ImGearMetadataNode LookUp( Enum[] path )
public: ImGearMetadataNode* LookUp( Enum*[]* path )
public: ImGearMetadataNode^ LookUp( array<Enum^>^ path )
If a node is not present, the method returns null.
The method does not search in the subtrees of the node list.
System.Enum[] path = new Enum[]
{
ImGearDICOMTagsIDs.DataSet,
ImGearDICOMTagsIDs.DeviceSequence,
ImGearDICOMTagsIDs.Item,
ImGearDICOMTagsIDs.CodeValue
};
ImGearMetadataNode Node = rootNode.Children.LookUp(path);
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)