Initializes a new instance of BitFlag. Namespace: Microsoft.ConfigurationManagement.ManagementProvider
Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)

Usage

Visual Basic
Dim item As IQueryPropertyItem
Dim bitMask As Integer
Dim checkedState As Integer

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

Syntax

Visual Basic
Public Sub New ( _
		item As IQueryPropertyItem, _
		bitMask As Integer, _
		checkedState As Integer _
)
C#
public BitFlag (
		IQueryPropertyItem item,
		int bitMask,
		int checkedState
)
C++
public:
BitFlag (
		IQueryPropertyItem^ item, 
		int bitMask, 
		int checkedState
)
J#
public BitFlag (
		IQueryPropertyItem item, 
		int bitMask, 
		int checkedState
)
JScript
public function BitFlag (
		item : IQueryPropertyItem, 
		bitMask : int, 
		checkedState : int
)

Parameters

item

[in] An IQueryPropertyItem object that is used to bind properties and values.

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