Oracle Objects for OLE C++ Class Library
Release 9.2

Part Number A95896-01
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents

Master Index

Feedback

GetElementType Method

Applies To

OCollection

Description

This method returns integer code representing the server type of an element.

Usage

int GetElementType(void) const throw(OException)

Arguments

none

Remarks

The codes correspond to the Oracle external datatypes. The following Oracle element data types are supported:

Oracle External Datatypes

Datatype
Value
Description
OTYPE_VARCHAR2
1
VARCHAR2
OTYPE_NUMBER
2
NUMBER
OTYPE_SINT
3
SIGNED INTEGER
OTYPE_FLOAT
4
FLOAT
OTYPE_VARCHAR
9
VARCHAR
OTYPE_DATE
12
DATE
OTYPE_UINT
68
UNSIGNED INTEGER
OTYPE_CHAR
96
CHAR
OTYPE_CHARZ
97
Null Terminated CHAR
OTYPE_OBJECT
108
Object datatype
OTYPE_REF
110
Ref datatype

This property is read-only at runtime.

 
Oracle
Copyright © 1998, 2002 Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents

Master Index

Feedback