ImageGear21.Core Assembly > ImageGear.Core Namespace > ImGearMetadataNodeList Class > LookUp Method : LookUp(Enum) Method |
'Declaration Public Overloads Function LookUp( _ ByVal tag As Enum _ ) As ImGearMetadataNode
'Usage Dim instance As ImGearMetadataNodeList Dim tag As Enum Dim value As ImGearMetadataNode value = instance.LookUp(tag)
public ImGearMetadataNode LookUp( Enum tag )
public: ImGearMetadataNode* LookUp( Enum* tag )
public: ImGearMetadataNode^ LookUp( Enum^ tag )
tag
ID, method returns the first record. If a node is not present, the method returns null.
The method does not search in the subtrees of the node list.
ImGearMetadataTree rootTree = (ImGearMetadataTree)page.Metadata.Child; ImGearMetadataNode node = rootTree.Children.LookUp(ImGearBMPTagIDs.BITCOUNT);
Dim rootTree As ImGearMetadataTree = igPage.Metadata.Child Dim node As ImGearMetadataNode = rootTree.Children.LookUp(CInt(ImGearBMPTagIDs.BITCOUNT))