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

Namespace: FlexRule
Assembly: FlexRule.Core.Element (in FlexRule.Core.Element.dll) Version: 0.0.0.0 (0.0.0.0)
Syntax
C#
public static IElementModel IndexOf(
	this IElementModel model,
	string childCommandName
)

Parameters

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

Return Value

Type: IElementModel

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