Share via


Generator.DefaultValue Property

Gets or sets the default value of the column.

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

Syntax

'Declaration
Public Property DefaultValue As String
'Usage
Dim instance As Generator
Dim value As String

value = instance.DefaultValue

instance.DefaultValue = value
public string DefaultValue { get; set; }
public:
property String^ DefaultValue {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_DefaultValue ()

/** @property */
public void set_DefaultValue (String value)
public function get DefaultValue () : String

public function set DefaultValue (value : String)

Property Value

A string that contains the default value.

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
DefaultValue

Concepts

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

Other Resources

Creating Custom Data Generators