Generator.PercentageNull Property

Gets or sets the percentage of the generated values for this column that should be nulla null reference (Nothing in Visual Basic). The percentage is expressed as an integer between 0 and 100.

Namespace:  Microsoft.VisualStudio.TeamSystem.Data.DataGenerator
Assembly:  Microsoft.VisualStudio.TeamSystem.Data (in Microsoft.VisualStudio.TeamSystem.Data.dll)

Syntax

'Declaration
<InputAttribute(AutoAssignedInput := AutoAssignedInput.PercentageNull, Visible := True,  _
    ReadOnly := False)> _
Public Property PercentageNull As Integer
'Usage
Dim instance As Generator
Dim value As Integer

value = instance.PercentageNull

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

Property Value

Type: System.Int32
An integer that contains the percentage of null values to generate.

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

PercentageNull

Other Resources

Creating Custom Data Generators

An Overview of Data Generator Extensibility

Specifying Details of Data Generation for a Column