Click or drag to resize
ElementModelUtilityIsInHierarchy Method
Checks if the model happens inside the command name

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

Parameters

model
Type: FlexRule.Core.ModelIElementModel
The model that is inside the command
parentCommandName
Type: SystemString
Parent name to check

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