Mimer SQL Data Provider
GetUserDefinedType(Int32) Method




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

Parameters

i
The zero-based column ordinal position.

Return Value

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

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
GetValue Method