Autodesk.AutoCAD.DatabaseServices Namespace > CompoundObjectId Class > CompoundObjectId Constructor > CompoundObjectId(ObjectId) Constructor
CompoundObjectId.CompoundObjectId(ObjectId) Constructor   
Description

Creates CompoundObjectId from an ordinary ObjectId. If the host database is null, the host database is obtained from the given ObjectId. Even if it is in XREF database, the database hosting the XREF is obtained.

Visual Basic
Public Sub New(
    id As ObjectId
)
C#
public CompoundObjectId(
    ObjectId id
);
Parameters
Parameters 
Description 
ObjectId id 
ObjectId of the DBObject that this CompoundObjectId is going to reference. 
Links
   Comments?