ConfigParameterDefinition.CreateCheckBoxParameter Method (String, Boolean)

Create a check box parameter definition.

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


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

returnValue = ConfigParameterDefinition.CreateCheckBoxParameter(name, defaultValue)


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


  • 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.


Target Platforms

See Also


ConfigParameterDefinition Class
ConfigParameterDefinition Members
Microsoft.MetadirectoryServices Namespace