Partager via


ConfigParameterDefinition.CreateCheckBoxParameter Method (String, Boolean)

Create a check box parameter definition.

Namespace: Microsoft.MetadirectoryServices
Assembly: Microsoft.MetadirectoryServicesEx (in Microsoft.MetadirectoryServicesEx.dll)

Usage

'Usage
Dim name As String
Dim defaultValue As Boolean
Dim returnValue As ConfigParameterDefinition

returnValue = ConfigParameterDefinition.CreateCheckBoxParameter(name, defaultValue)

Syntax

'Declaration
Public Shared Function CreateCheckBoxParameter ( _
    name As String, _
    defaultValue As Boolean _
) As ConfigParameterDefinition
public static ConfigParameterDefinition CreateCheckBoxParameter (
    string name,
    bool defaultValue
)
public:
static ConfigParameterDefinition^ CreateCheckBoxParameter (
    String^ name, 
    bool defaultValue
)
public static ConfigParameterDefinition CreateCheckBoxParameter (
    String name, 
    boolean defaultValue
)
public static function CreateCheckBoxParameter (
    name : String, 
    defaultValue : boolean
) : ConfigParameterDefinition

Parameters

  • name
    A string that represents the name associated with the checkbox parameter.
  • defaultValue
    The default value of the checkbox parameter.

Return Value

Returns ConfigParameterDefinition.

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

Target Platforms

See Also

Reference

ConfigParameterDefinition Class
ConfigParameterDefinition Members
Microsoft.MetadirectoryServices Namespace