RowView.IDataErrorInfo.Item 属性
此 API 支持 基础结构,但不能通过代码直接使用。
命名空间: System.Data.SqlServerCe
程序集: System.Data.SqlServerCe(在 System.Data.SqlServerCe.dll 中)
语法
声明
Private ReadOnly Property Item ( _
colName As String _
) As String Implements IDataErrorInfo.Item
Get
用法
Dim instance As RowView
Dim colName As String
Dim value As String
value = CType(instance, IDataErrorInfo).Item(colName)
string IDataErrorInfo.this[
string colName
] { get; }
private:
virtual property String^ Item[String^ colName] {
String^ get (String^ colName) sealed = IDataErrorInfo::Item::get;
}
private abstract Item : string
private override Item : string
JScript 支持使用显式接口实现,但不支持声明新显式接口实现。
参数
- colName
类型:System.String