IDataSourceFieldSchema.IsUnique 属性
定义
获取一个值,该值指示是否要求字段值是唯一的。Gets a value indicating whether values in the field are required to be unique.
public:
property bool IsUnique { bool get(); };
public bool IsUnique { get; }
member this.IsUnique : bool
Public ReadOnly Property IsUnique As Boolean
属性值
如果字段中的数据必须是唯一的,则为 true;否则为 false。true if data in the field must be unique; otherwise, false.
注解
对于 DataColumn 对象, IsUnique 属性与属性相对应 Unique 。For a DataColumn object, the IsUnique property corresponds to the Unique property.