GetInt32 Method
See Also 
SourceCode.SmartObjects.Client Namespace > SmartObjectReader Class : GetInt32 Method



i

Glossary Item Box

Gets the value of the specified column as a 32-bit signed integer.

Syntax

Visual Basic (Declaration) 
Public Overrides Function GetInt32( _
   ByVal i As Integer _
) As Integer
Visual Basic (Usage)Copy Code
Dim instance As SmartObjectReader
Dim i As Integer
Dim value As Integer
 
value = instance.GetInt32(i)
C# 
public override int GetInt32( 
   int i
)
C++/CLI 
public:
int GetInt32( 
   int i
) override 

Parameters

i

Return Value

The value of the specified column.

Exceptions

ExceptionDescription
System.InvalidCastExceptionThe specified cast is not valid.

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