RuntimeObjectSearch.SearchRuntimeValue Method (Object, Object, SearchOptions, Int32, String[])

RuntimeDataSearch

RuntimeObjectSearchSearchRuntimeValue Method (Object, Object, SearchOptions, Int32, String)
Search inside of an object hierarchy.

Namespace: RuntimeDataSearch
Assembly: RuntimeDataSearch (in RuntimeDataSearch.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax
C#
public static ICollection<string> SearchRuntimeValue(
	this Object target,
	Object searchValue,
	SearchOptions options,
	int maximumDepth,
	params string[] ignoredPaths
)

Parameters

target
Type: SystemObject
Target object to search into.
searchValue
Type: SystemObject
Value to search for.
options
Type: RuntimeDataSearchSearchOptions
Search options.
maximumDepth
Type: SystemInt32
Maximum hierarchical depth to search into.
ignoredPaths
Type: SystemString
Paths or paths' fragments to be ignored.

Return Value

Type: ICollectionString
A list of the hierarchy paths of the objects that match the searching criteria.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Object. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also