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
<InputAttribute(AutoAssignedInput := AutoAssignedInput.DefaultValue, ReadOnly := True,  _
    Visible := False)> _
Public Property DefaultValue As String
'Usage
Dim instance As Generator
Dim value As String

value = instance.DefaultValue

instance.DefaultValue = value
[InputAttribute(AutoAssignedInput = AutoAssignedInput.DefaultValue, ReadOnly = true, 
    Visible = false)]
public string DefaultValue { get; set; }
[InputAttribute(AutoAssignedInput = AutoAssignedInput::DefaultValue, ReadOnly = true, 
    Visible = false)]
public:
property String^ DefaultValue {
    String^ get ();
    void set (String^ value);
}
public function get DefaultValue () : String
public function set DefaultValue (value : String)

Property Value

Type: System.String
A string that contains the default value.

Remarks

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

Permissions

See Also

Reference

Generator Class

Generator Members

Microsoft.VisualStudio.TeamSystem.Data.DataGenerator Namespace

GeneratorAttribute

GeneratorInit

IGenerator

DefaultValue

Other Resources

Creating Custom Data Generators

An Overview of Data Generator Extensibility

Specifying Details of Data Generation for a Column