Mimer SQL Data Provider
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.
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


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

Return Value

The value of the column as an MimerUserDefinedType array.
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.
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.


.NET Framework
Version 2.0 or later

See Also


MimerDataReader Class
MimerDataReader Members
Overload List