Item Property
See Also 
SourceCode.SmartObjects.Client Namespace > SmartObjectReader Class : Item Property



name

Glossary Item Box

Gets the value of the specified column as an instance of System.Object.

Syntax

Visual Basic (Declaration) 
Public Overrides ReadOnly Default Property Item( _
   ByVal name As String _
) As Object
Visual Basic (Usage)Copy Code
Dim instance As SmartObjectReader
Dim name As String
Dim value As Object
 
value = instance.Item(name)
C# 
public override object this[ 
   string name
]; {get;}
C++/CLI 
public:
property Object^ default [String^] override {
   Object^ get(String^ name) override;
}

Parameters

name

Property Value

The value of the specified column.

Exceptions

ExceptionDescription
System.IndexOutOfRangeExceptionThe index passed was outside the range of 0 through System.Data.IDataRecord.FieldCount.

Requirements

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

See Also