AccountExtensions.HasStatusFlag Method

Determines whether Status has the specified flag set.

Definition

Namespace: SMath.Manager
Assembly: SMath.Manager (in SMath.Manager.dll) Version: 1.73.9126.0
C#
public static bool HasStatusFlag(
	this IAccount account,
	AuthStatus flag
)

Parameters

account  IAccount
Account to check the status of.
flag  AuthStatus
Flag to check.

Return Value

Boolean
true if the specified flag is set in Status.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IAccount. 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