ObjectType Property (QBEntity Object, QBRelationship Object)

English Query

English Query

ObjectType Property (QBEntity Object, QBRelationship Object)

Specifies the kind of object, either an entity or relationship.

Applies To

QBEntity Object

QBRelationship Object

Syntax

value = QBEntity.ObjectType

value = QBRelationship.ObjectType

Parts

QBEntity, QBRelationship

An object variable that represents an entity or relationship in the model.

value

An integer, which is returned, that represents one of the object types below.

Value Object type Constant
1 Entity QB_ENTITY
2 Relationship QB_RELATIONSHIP
Remarks

This property is read-only.