Share

DBObject.UpgradeFromNotify Method

Description

Upgrades the object from being at least open OpenMode.ForNotify to being open both OpenMode.ForNotify and OpenMode.ForWrite.

This function must be followed at some point by a call to DowngradeToNotify() with no Open() (in any of its forms) or Close() calls in between.

This method should only be called from within other methods of the same object it is being called from. In other words, this method is intended to be used by an object to change it's own open status so that it can safely modify itself.

UpgradeFromNotify() and DowngradeToNotify() call pairs are not nestable.

Visual Basic

Public Function UpgradeFromNotify() As bool

C#

public bool UpgradeFromNotify();

Links

DBObject Class, Autodesk.AutoCAD.DatabaseServices Namespace

Was this information helpful?