Xceed Words for .NET v5.0 Documentation
Xceed.Document.NET Assembly / Xceed.Document.NET Namespace / ExtensionsHeadings Class / HasFlag Method


In This Topic
    HasFlag Method
    In This Topic
    Syntax
    'Declaration
     
    <ExtensionAttribute()>
    Public Shared Function HasFlag( _
       ByVal variable As Enum, _
       ByVal value As Enum _
    ) As Boolean
    'Usage
     
    Dim variable As Enum
    Dim value As Enum
    Dim value As Boolean
     
    value = ExtensionsHeadings.HasFlag(variable, value)
    [Extension()]
    public static bool HasFlag( 
       Enum variable,
       Enum value
    )

    Parameters

    variable
    value
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows, 11, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also