Initializes the database and collection class that the object is contained within.
Namespace: DatabaseObjectsAssembly: DatabaseObjects (in DatabaseObjects.dll) Version: 3.8.1.0
Syntax
| C# |
|---|
public ObjectReference( Database objDatabase, IDatabaseObjects objCollection ) |
| Visual Basic |
|---|
Public Sub New ( _ objDatabase As Database, _ objCollection As IDatabaseObjects _ ) |
| Visual C++ |
|---|
public: ObjectReference( Database^ objDatabase, IDatabaseObjects^ objCollection ) |
Parameters
- objDatabase
- Type: DatabaseObjects..::..Database
The database that the collection is associated with.
- objCollection
- Type: DatabaseObjects..::..IDatabaseObjects
The collection that contains the referenced object. The class' MyBase.Object function is called to load the object.