ImageGear for .NET
LookUp(String[]) Method
Example 




Path to a data element in the metadata structure.
This method searches the node list recursively for a node, according to the path parameter. 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.

Syntax
'Declaration
 
Public Overloads Function LookUp( _
   ByVal path() As String _
) As ImGearMetadataNode
'Usage
 
Dim instance As ImGearMetadataNodeList
Dim path() As String
Dim value As ImGearMetadataNode
 
value = instance.LookUp(path)
public ImGearMetadataNode LookUp( 
   string[] path
)
public: ImGearMetadataNode* LookUp( 
   string*[]* path
) 
public:
ImGearMetadataNode^ LookUp( 
   array<String^>^ path
) 

Parameters

path
Path to a data element in the metadata structure.

Return Value

Instanse of ImGearMetadataNode class object.
Example
ImGearMetadataNode Node = rootNode.Children.LookUp(ImGearDICOMTagsIDs.DataSet);
'Use CType in VB.Net to help the compiler choose the correct overload. 
Dim Node As ImGearMetadataNode = rootNode.Children.LookUp(CType(ImGearDICOMTagsIDs.DataSet, System.Enum))
See Also

Reference

ImGearMetadataNodeList Class
ImGearMetadataNodeList Members
Overload List
IImGearMetadataDictRecord Interface

 

 


©2014. Accusoft Corporation. All Rights Reserved.

Send Feedback