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



i

Glossary Item Box

Gets name of the data type of the specified column.

Syntax

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

Parameters

i

Return Value

A string representing the name of the data type.

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