Partager via


ConfigParameterDefinition.CreateStringParameter Method (String, String, String)

Create a string parameter definition.

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

Usage

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

returnValue = ConfigParameterDefinition.CreateStringParameter(name, validation, defaultValue)

Syntax

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

Parameters

  • name
    A string that represents the name associated with the string parameter.
  • validation
    A string that represents the value that must be entered in the box for validation.
  • defaultValue
    The default value for the input box.

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