Generator.PercentageNull 属性

更新:2007 年 11 月

获取或设置此列中应为 nullnull 引用(在 Visual Basic 中为 Nothing) 的生成值所占的百分比。此百分比用介于 0 和 100 之间的整数表示。

命名空间:  Microsoft.VisualStudio.TeamSystem.Data.DataGenerator
程序集:  Microsoft.VisualStudio.TeamSystem.Data(在 Microsoft.VisualStudio.TeamSystem.Data.dll 中)

语法

声明
<InputAttribute(AutoAssignedInput := AutoAssignedInput.PercentageNull, Visible := True,  _
    ReadOnly := False)> _
Public Property PercentageNull As Integer
用法
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)

属性值

类型:System.Int32

一个整数,包含生成的 Null 值所占的百分比。

备注

InputAttributeAutoAssignedInput 命名参数对该属性进行了修饰。

权限

另请参见

参考

Generator 类

Generator 成员

Microsoft.VisualStudio.TeamSystem.Data.DataGenerator 命名空间

GeneratorAttribute

GeneratorInit

IGenerator

PercentageNull

其他资源

创建自定义数据生成器

数据生成器扩展性概述

为列指定数据生成的详细信息