Share

DBObject.UpgradeOpen Method

Description

If the object is currently open OpenMode.ForRead with only one reader, then this function upgrades the object to open OpenMode.ForWrite. In the process of changing to open for write, the object is closed, thus triggering any pertinent notification.

Note

A call of this function does not need to be matched with a call to DowngradeOpen(), since a call to Close() or Cancel() will sufficiently cleanup the entity's open state.

Visual Basic

Public Function UpgradeOpen() As void

C#

public void UpgradeOpen();

Links

DBObject Class, Autodesk.AutoCAD.DatabaseServices Namespace

Was this information helpful?