ActionItemBaseTAction, TCollectionCheckElements Method

Check all of the specified elements and return a value indicating whether the masked items were all valid.

Definition

Namespace: ActionEngine
Assembly: ActionEngine (in ActionEngine.dll) Version: 26.2117.4453
C#
protected static bool CheckElements(
	TAction item,
	ActionElementEnum element,
	bool includeInherited = true,
	bool quiet = false
)

Parameters

item  TAction
Reference to the file action item for which the elements are being tested.
element  ActionElementEnum
Bitmasked action element flags to require on this action.
includeInherited  Boolean  (Optional)
Optional value indicating whether to include inherited values, if true, or to include only local values, if false. Default = true.
quiet  Boolean  (Optional)
Optional value indicating whether to run the operation in quiet mode. If true, no warnings or errors will be sent. Default = false.

Return Value

Boolean
Value indicating whether the check was successful.

Remarks

Error messages are printed to the console when one or more of the specified elements are not found.

See Also