Partager via


ResultObjectPropertyItems.Bit Method

Extracts the status of the property item bits for the specified bit mask.

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

Usage

'Usage
Dim instance As ResultObjectPropertyItems
Dim mask As Integer
Dim checkedState As Integer
Dim returnValue As BitFlag

returnValue = instance.Bit(mask, checkedState)

Syntax

'Declaration
Public Function Bit ( _
    mask As Integer, _
    checkedState As Integer _
) As BitFlag
public BitFlag Bit (
    int mask,
    int checkedState
)
public:
virtual BitFlag^ Bit (
    int mask, 
    int checkedState
) sealed
public final BitFlag Bit (
    int mask, 
    int checkedState
)
public final function Bit (
    mask : int, 
    checkedState : int
) : BitFlag

Parameters

  • mask
    [in] Bit mask.
  • checkedState
    [in] Bit mask state to check.

Return Value

BitFlag object.

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

ResultObjectPropertyItems Class
ResultObjectPropertyItems Members
Microsoft.ConfigurationManagement.ManagementProvider Namespace
BitFlag Class