Share via


IQueryPropertyItem.SetBitValue Method

Sets the bit value for the specified bit mask.

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

Usage

'Usage
Dim instance As IQueryPropertyItem
Dim mask As Integer
Dim setFlag As Boolean

instance.SetBitValue(mask, setFlag)

Syntax

'Declaration
Sub SetBitValue ( _
    mask As Integer, _
    setFlag As Boolean _
)
void SetBitValue (
    int mask,
    bool setFlag
)
void SetBitValue (
    int mask, 
    bool setFlag
)
void SetBitValue (
    int mask, 
    boolean setFlag
)
function SetBitValue (
    mask : int, 
    setFlag : boolean
)

Parameters

  • mask
    [in] Bit mask.
  • setFlag
    [in] true to set a bit flag for the value.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also

Reference

IQueryPropertyItem Interface
IQueryPropertyItem Members
Microsoft.ConfigurationManagement.ManagementProvider Namespace