ImageGear v26.5 - Updated
ImageGear.Core Assembly / ImageGear.Core Namespace / ImGearMetadataNodeList Class / LookUpLeaf Method / LookUpLeaf(Int32) Method
Tag ID to search for.




In This Topic
    LookUpLeaf(Int32) Method
    In This Topic
    Searches the leaf list for a node which Tag is equal to the specified tag ID.
    Syntax
    'Declaration
     
    Public Overloads Function LookUpLeaf( _
       ByVal tag As Integer _
    ) As ImGearMetadataLeaf
    'Usage
     
    Dim instance As ImGearMetadataNodeList
    Dim tag As Integer
    Dim value As ImGearMetadataLeaf
     
    value = instance.LookUpLeaf(tag)
    public ImGearMetadataLeaf LookUpLeaf( 
       int tag
    )
    public: ImGearMetadataLeaf* LookUpLeaf( 
       int tag
    ) 
    public:
    ImGearMetadataLeaf^ LookUpLeaf( 
       int tag
    ) 

    Parameters

    tag
    Tag ID to search for.

    Return Value

    ImGearMetadataLeaf class object.
    Remarks
    If the list contains several leafs with this tag ID, the method returns the first leaf. If a leaf is not present, the method returns null.

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

    See Also