次の方法で共有


DataRowView.System.ComponentModel.IDataErrorInfo.Item プロパティ

メモ : この名前空間、クラス、およびメンバは、.NET Framework Version 1.1 だけでサポートされています。

[C#] C# では、このプロパティは DataRowView クラスのインデクサになります。

Private Default ReadOnly Property Item( _
   ByVal colName As String _) As String Implements IDataErrorInfo.Item
[C#]
string IDataErrorInfo.this[
   stringcolName] {get;}
[C++]
private: __property String* System::ComponentModel::IDataErrorInfo::get_Item(String* colName);
[JScript]
private function get IDataErrorInfo.get_Item(colName : String) : String;またはprivate function get IDataErrorInfo.get_Item(colName : String) : String;

[JScript] JScript では、この型で定義されている既定のインデックス プロパティを使用することができます。しかし、独自のインデックス プロパティを明示的に定義することはできません。ただし、このクラスの expando 属性を指定すると、既定のインデックス プロパティが提供されます。提供されるインデックス プロパティの型は Object 型であり、インデックス型は String になります。

引数 [JScript]

  • colName

パラメータ [Visual Basic, C#, C++]

  • colName

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

参照

DataRowView クラス | DataRowView メンバ | System.Data 名前空間