Partager via


Support.SystemSettingCheckBoolean Method

Applies To: Windows 8.1

Retrieves the current setting of a specific system configuration item.

Namespace: Microsoft.Assessments.Runtime
Assembly: Microsoft.Assessments.Core (in Microsoft.Assessments.Core.dll)

Usage

'Usage
Dim instance As Support
Dim setting As SystemSetting
Dim returnValue As Boolean

returnValue = instance.SystemSettingCheckBoolean(setting)

Syntax

'Declaration
Public Function SystemSettingCheckBoolean ( _
    setting As SystemSetting _
) As Boolean
public bool SystemSettingCheckBoolean (
    SystemSetting setting
)
public:
bool SystemSettingCheckBoolean (
    SystemSetting setting
)
public boolean SystemSettingCheckBoolean (
    SystemSetting setting
)
public function SystemSettingCheckBoolean (
    setting : SystemSetting
) : boolean

Parameters

  • setting
    A single value of a SystemSetting enumeration specifying which system setting to retrieve.

Return Value

Returns Boolean.

Remarks

This method allows an assessment to determine the current state of a system setting.

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 8.1

See Also

Reference

Support Class
Support Members
Microsoft.Assessments.Runtime Namespace