Visual Basic (Declaration) | |
---|---|
Public Overrides ReadOnly Default Property Item( _ ByVal name As String _ ) As Object |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As SmartObjectReader Dim name As String Dim value As Object value = instance.Item(name) |
Parameters
- name
Property Value
The value of the specified column.Exception | Description |
---|---|
System.IndexOutOfRangeException | The index passed was outside the range of 0 through System.Data.IDataRecord.FieldCount. |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2