Share via


BitFlag Constructor

Initializes a new instance of BitFlag.

Namespace: Microsoft.ConfigurationManagement.ManagementProvider
Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)

Usage

'Usage
Dim item As IQueryPropertyItem
Dim bitMask As Integer
Dim checkedState As Integer

Dim instance As New BitFlag(item, bitMask, checkedState)

Syntax

'Declaration
Public Sub New ( _
    item As IQueryPropertyItem, _
    bitMask As Integer, _
    checkedState As Integer _
)
public BitFlag (
    IQueryPropertyItem item,
    int bitMask,
    int checkedState
)
public:
BitFlag (
    IQueryPropertyItem^ item, 
    int bitMask, 
    int checkedState
)
public BitFlag (
    IQueryPropertyItem item, 
    int bitMask, 
    int checkedState
)
public function BitFlag (
    item : IQueryPropertyItem, 
    bitMask : int, 
    checkedState : int
)

Parameters

  • bitMask
    [in] An integer bit mask.
  • checkedState
    [in] A value that indicates the checked state of the bit flag. See the CheckState property.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also

Reference

BitFlag Class
BitFlag Members
Microsoft.ConfigurationManagement.ManagementProvider Namespace
CheckState
IQueryPropertyItem