The CogDatabaseDirectory type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| ChangedEventSuspended |
If nonzero, indicates that the raising of the Changed event has been
suspended. This value is incremented when SuspendChangedEvent is called
and decremented when ResumeAndRaiseChangedEvent is called.
(Inherited from CogSerializableChangedEventBase.) | |
| Connected |
Is this object connected to a specific database?
| |
| HasChanged | (Inherited from CogSerializableChangedEventBase.) | |
| Metadata |
Gets or sets the metadata associated with this database.
| |
| Name |
Gets or sets the name of this database. This will be
the path of the desired database directory,
e.g. "C:\\MyDatabase". This must be set to
the desired value before calling Connect. Attempting to
set this when Connected is true will cause an exception to
be thrown.
| |
| StateFlags |
Returns the complete set of state flags supported on this object. The
flags may be indexed by name as shown in the following C# code snippet:
if (changedObject.StateFlags["Color"] & eventArgs.StateFlags) { ... }
(Inherited from CogSerializableChangedEventBase.) |
See Also