Click or drag to resize
ElementModelUtilityHasChildOf Method
Checks if the model has any child name as childCommandName

Namespace: FlexRule
Assembly: FlexRule.Core.Element (in FlexRule.Core.Element.dll) Version: (
public static bool HasChildOf(
	this IElementModel model,
	string childCommandName


Type: FlexRule.Core.ModelIElementModel
Parent to check for the child name
Type: SystemString
Child name command to be checked inside the parent

Return Value

Type: Boolean

Usage Note

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