CompoundObjectId.CompoundObjectId(ObjectId) Constructor

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.

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.

Links

CompoundObjectId Class, Autodesk.AutoCAD.DatabaseServices Namespace