Oracle Objects for OLE
Release 9.0.1

Part Number A90173-01

Home

Book List

Contents

Master Index

Feedback

Value (OraAttribute) Property

Applies To

OraAttribute Object

Description

Gets or sets the value of the attribute. This value could be an instance of an OraObject, OraRef, OraCollection, or any of the supported scalar types, such as integer or float.

Usage

attr_value = OraAttribute.Value

OraAttribute.Value = attr_value

Remarks

This is the default property for this object.

The Value property of the OraAttribute object returns the value of the attribute as a Variant. The Variant type of the attribute depends on the attribute type of the attribute. Attribute values can be Null and can be set to Null. For attribute of type objects, REF, LOB and Collection, attribute values are returned as corresponding OO4O objects for that type.

The following table identifies the attribute type and the return value of the Value property of the OraAttribute object:

Element Type
Element Value
Object
OraObject
REF
OraRef
VARRAY, Nested Table
OraCollection
BLOB
OraBLOB
CLOB
OraCLOB
BFILE
OraBFILE
Date
String
Number
String
CHAR,VARCHAR2
String
Real
Real
Integer
Integer
Data Type

Variant


 
Oracle
Copyright © 1996-2001, Oracle Corporation.

All Rights Reserved.

Home

Book List

Contents