Click or drag to resize

imbGraphExtensionsgetAllChildren Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Gets all children. If pathFilder defined, it uses it to select only children with appropriate path

Namespace:  imbSCI.Data
Assembly:  imbSCI.Data (in imbSCI.Data.dll) Version: 0.3.70.
Syntax
C#
public static List<IObjectWithPathAndChildren> getAllChildren(
	this IObjectWithPathAndChildren parent,
	Regex pathFilter = null,
	bool inverse = false,
	bool orderByPath = false,
	int recursiveIndex = 1,
	int recursiveLimit = 500,
	bool includingParent = false
)
Request Example View Source

Parameters

parent
Type: imbSCI.Data.interfacesIObjectWithPathAndChildren
The parent.
pathFilter (Optional)
Type: System.Text.RegularExpressionsRegex
The path filter.
inverse (Optional)
Type: SystemBoolean
if set to true it inverses the filter
orderByPath (Optional)
Type: SystemBoolean
if set to true [order by path].
recursiveIndex (Optional)
Type: SystemInt32
Index of the recursive calls (if orderByPath is true)
recursiveLimit (Optional)
Type: SystemInt32
The recursive calls limit.
includingParent (Optional)
Type: SystemBoolean

Return Value

Type: ListIObjectWithPathAndChildren

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IObjectWithPathAndChildren. 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