Version

FromValue(String,Boolean) Method

Traverses the collection of items and their children and returns the item that matches the specified value.
Syntax
'Declaration
 
Public Overloads Function FromValue( _
   ByVal value As String, _
   ByVal searchChildren As Boolean _
) As ExplorerBarItemBase
public ExplorerBarItemBase FromValue( 
   string value,
   bool searchChildren
)

Parameters

value
Value contained in the value filed of an item.
searchChildren
If true the children will also be searched, if false only the current collection level will be searched.

Return Value

The first item that has the corresponding value.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also