Share

ObjectContext.CollectionName Property

Description

Accesses the name of the containing collection.

Context objects should returns a non-null string even if the context object is not currently residing in a collection. The purpose of this method is to allow clients to identify the context type via a collection name, and to allow clients (including collection objects) to determine whether a context object is allowed in a collection instance.

Visual Basic

Public virtual Property CollectionName() As string

C#

public virtual string CollectionName;

Conditions

Read-only

Links

ObjectContext Class, Autodesk.AutoCAD.DatabaseServices Namespace

Was this information helpful?