AccountExtensions.HasStatusFlag Method
Determines whether
Status has the specified flag set.
Namespace: SMath.ManagerAssembly: SMath.Manager (in SMath.Manager.dll) Version: 1.73.9126.0
public static bool HasStatusFlag(
this IAccount account,
AuthStatus flag
)
<ExtensionAttribute>
Public Shared Function HasStatusFlag (
account As IAccount,
flag As AuthStatus
) As Boolean
public:
[ExtensionAttribute]
static bool HasStatusFlag(
IAccount^ account,
AuthStatus flag
)
[<ExtensionAttribute>]
static member HasStatusFlag :
account : IAccount *
flag : AuthStatus -> bool
- account IAccount
- Account to check the status of.
- flag AuthStatus
- Flag to check.
Booleantrue if the specified flag is set in
Status.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).