Partager via


ConfigParameterDefinition.CreateDropDownParameter Method (String, String[], Boolean, String)

Create a drop-down parameter definition.

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

Usage

'Usage
Dim name As String
Dim values As String()
Dim extensible As Boolean
Dim defaultValue As String
Dim returnValue As ConfigParameterDefinition

returnValue = ConfigParameterDefinition.CreateDropDownParameter(name, values, extensible, defaultValue)

Syntax

'Declaration
Public Shared Function CreateDropDownParameter ( _
    name As String, _
    values As String(), _
    extensible As Boolean, _
    defaultValue As String _
) As ConfigParameterDefinition
public static ConfigParameterDefinition CreateDropDownParameter (
    string name,
    string[] values,
    bool extensible,
    string defaultValue
)
public:
static ConfigParameterDefinition^ CreateDropDownParameter (
    String^ name, 
    array<String^>^ values, 
    bool extensible, 
    String^ defaultValue
)
public static ConfigParameterDefinition CreateDropDownParameter (
    String name, 
    String[] values, 
    boolean extensible, 
    String defaultValue
)
public static function CreateDropDownParameter (
    name : String, 
    values : String[], 
    extensible : boolean, 
    defaultValue : String
) : ConfigParameterDefinition

Parameters

  • name
    A string that represents the name of the drop-down parameter.
  • values
    The values of the drop-down parameter.
  • extensible
    A boolean representing whether the drop-down is extensible.
  • defaultValue
    The default value of the drop-down 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