Searches the ItemClass.TagString property of items for a matching string.
Class: SftTree
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET
public ItemClass FindItemTagString( string Text, bool CompleteMatch, bool IgnoreCase, bool Wrap, ItemClass StartItem, bool DepthScan, bool VisibleOnly );
Public Function FindItemTagString(
ByVal Text As String,
ByVal CompleteMatch As Boolean,
ByVal IgnoreCase As Boolean,
ByVal Wrap As Boolean,
ByVal StartItem As ItemClass,
ByVal DepthScan As Boolean,
ByVal VisibleOnly As Boolean
) As ItemClassDefines the text to find.
CompleteMatch
Defines whether the string Text must match completely (True), otherwise False and the string Text matches if the item's TagString property starts with the same text.
IgnoreCase
Defines whether the string comparison is case sensitive (False), otherwise True.
Wrap
Defines whether the search wraps around at the end of the items and resumes at the first item (True), otherwise False.
StartItem
Defines the item where the search starts (including).
DepthScan
Defines whether all items (including dependent items, starting with the item StartItem) are searched (True), otherwise False and only sibling items of the starting item (StartItem) are searched.
VisibleOnly
Defines whether only visible items are searched (True), otherwise False and all items (even items whose parents are collapsed) are searched.
The item where the first match is found or null/Nothing if no match was found.
Searches the ItemClass.TagString property of items for a matching string.
The FindItemTagString method searches all items, starting at the item defined by StartItem for the text (Text) in each item's ItemClass.TagString property.
The SftTree.FindItemTagObject, SftTree.FindCellTagObject, SftTree.FindCellTagString methods perform a similar function to search items' and cells' TagObjects and TagString properties. The SftTree.FindText method searches for a matching string in the CellBaseClass.Text property.
See Also SftTree Class | Classes | SftTree/NET 3.0