Click or drag to resize

DocumentStateFlagsExtensionsContains Method

Determines whether the specified state is contained in the DocumentStateFlags condition.

Namespace:  Aloe.EnterpriseOne.Model.General
Assembly:  Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
Syntax
public static bool Contains(
	this DocumentStateFlags condition,
	DocumentState state
)

Parameters

condition
Type: Aloe.EnterpriseOne.Model.GeneralDocumentStateFlags
The condition.
state
Type: Aloe.EnterpriseOne.Model.GeneralDocumentState
The state.

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 DocumentStateFlags. 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