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




name
Tag Name for which to search.

Glossary Item Box

Searches the node list for a node whose Name is equal to the specified string value.

Syntax

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

Parameters

name
Tag Name for which to search.

Return Value

ImGearMetadataNode class object.

Remarks

If the list contains several nodes with this Name, 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.

Example

C#Copy Code
ImGearMetadataTree rootTree = (ImGearMetadataTree)page.Metadata.Child;
ImGearMetadataNode node = rootTree.Children.LookUp("ImageWidth");
Visual BasicCopy Code
Dim rootTree As ImGearMetadataTree = igPage.Metadata.Child
Dim node As ImGearMetadataNode = rootTree.Children.LookUp("ImageWidth")

See Also

©2013. Accusoft Corporation. All Rights Reserved.