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 值所占的百分比。
备注
用 InputAttribute 和 AutoAssignedInput 命名参数对该属性进行了修饰。
权限
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。
另请参见
参考
Microsoft.VisualStudio.TeamSystem.Data.DataGenerator 命名空间