Share

Context.Database Property

Description

Every regeneration relates to a specific database, and if your object needs to query the database for any purpose, this is the database you should use. This is in contrast to using the database returned by the DBObject.database() method.

The pointer returned by this function is the pointer to the current database and is guaranteed to be not NULL.

Visual Basic

Public abstract Property Database() As Autodesk.AutoCAD.DatabaseServices.Database

C#

public abstract Autodesk.AutoCAD.DatabaseServices.Database Database;

Conditions

Read-only

Links

Context Class, Autodesk.AutoCAD.GraphicsInterface Namespace

Was this information helpful?