Share via


Generator.MaxLength Property

Gets or sets the maximum length for this column.

Namespace: Microsoft.VisualStudio.TeamSystem.Data.DataGenerator
Assembly: Microsoft.VisualStudio.TeamSystem.Data (in microsoft.visualstudio.teamsystem.data.dll)

Syntax

'Declaration
Public Property MaxLength As Integer
'Usage
Dim instance As Generator
Dim value As Integer

value = instance.MaxLength

instance.MaxLength = value
public int MaxLength { get; set; }
public:
property int MaxLength {
    int get ();
    void set (int value);
}
/** @property */
public int get_MaxLength ()

/** @property */
public void set_MaxLength (int value)
public function get MaxLength () : int

public function set MaxLength (value : int)

Property Value

An integer that contains the maximum length for the column.

Remarks

This property is decorated with the InputAttribute and the AutoAssignedInput named parameter.

See Also

Reference

Generator Class
Generator Members
Microsoft.VisualStudio.TeamSystem.Data.DataGenerator Namespace
GeneratorAttribute
GeneratorInit
IGenerator
MaxLength

Concepts

An Overview of Data Generator Extensibility
Specifying Details of Data Generation for a Column

Other Resources

Creating Custom Data Generators