Share

Database.DbFromId Method

Description

Looks up a runtime ID in a map and returns the associated Database object.

Visual Basic

Public static Function DbFromId(
    id As long
) As Database

C#

public static Database DbFromId(
    long id
);

Parameters

Parameters Description
long id Input integer that represents the runtime ID of the Database to return

Returns

Database object if a match to the runtime ID is found, else null.

Links

Database Class, Autodesk.AutoCAD.DatabaseServices Namespace

Was this information helpful?