ConfigParameterDefinition.CreateTextParameter Method (String, String)

Create a text parameter definition with a default value.

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

Usage

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

returnValue = ConfigParameterDefinition.CreateTextParameter(name, defaultValue)

Syntax

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

Parameters

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

Return Value

Returns ConfigParameterDefinition.

Remarks

If you need to enter a new line in the textbox use CTRL+Enter.

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