Mimer SQL Data Provider help
GetUserDefinedType(Int32,Object) Method




Mimer.Data.Client Namespace > MimerDataReader Class > GetUserDefinedType Method : GetUserDefinedType(Int32,Object) Method
The zero-based column ordinal position.
An object where the user defined type value is stored.
Retrieve the value for a user defined type column into an object.
Syntax
'Declaration
 
Public Overloads Function GetUserDefinedType( _
   ByVal i As Integer, _
   ByVal o As Object _
) As MimerUserDefinedType
public MimerUserDefinedType GetUserDefinedType( 
   int i,
   object o
)
public function GetUserDefinedType( 
    i: Integer;
    o: TObject
): MimerUserDefinedType; 
public function GetUserDefinedType( 
   i : int,
   o : Object
) : MimerUserDefinedType;
public: MimerUserDefinedType* GetUserDefinedType( 
   int i,
   Object* o
) 

Parameters

i
The zero-based column ordinal position.
o
An object where the user defined type value is stored.

Return Value

The value of the column as an object array.System.String.
Exceptions
ExceptionDescription
The underlying SQL data type cannot be converted to System.String.
The MimerDataReader is not positioned on a row.
The column ordinal is outside the valid range.
Remarks
This routine may only be used for structured user defined type values. The object parameter class must inherit from the MimerUserDefinedType class.

Use the IsDBNull method to check for database null value before calling this method.

Requirements

.NET Framework
Version 2.0 or later

See Also

Reference

MimerDataReader Class
MimerDataReader Members
Overload List