Freigeben über


BitFlag.Checked Property

Gets or sets a value that indicates whether the BitFlag object is checked.

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

Usage

'Usage
Dim instance As BitFlag
Dim value As Boolean

value = instance.Checked

instance.Checked = value

Syntax

'Declaration
Public Property Checked As Boolean
public bool Checked { get; set; }
public:
property bool Checked {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_Checked ()

/** @property */
public void set_Checked (boolean value)
public function get Checked () : boolean

public function set Checked (value : boolean)

Property Value

true if the object is checked; otherwise false.

Remarks

If your application sets this property, the state of the bit flag check is indicated in the CheckState property.

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

BitFlag Class
BitFlag Members
Microsoft.ConfigurationManagement.ManagementProvider Namespace
CheckState