Click or drag to resize

SegmentDefinition.ContainsElement Method

Checks to see if there is a StateElementAdapterDefinition for the provided element.

Namespace:  AGI.Foundation.SegmentPropagation
Assembly:  AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 25.1.421.0 (25.1.421.0)
Syntax
public bool ContainsElement(
	string element
)

Parameters

element
Type: System.String
The state element of interest.

Return Value

Type: Boolean
true if the element has an associated StateElementAdapterDefinition registered with this segment; otherwise false.
Exceptions
ExceptionCondition
ArgumentNullException Thrown when element is null.
See Also