CogDatabaseDirectory PropertiesCognex VisionPro 9.8

The CogDatabaseDirectory type exposes the following members.

Properties

  NameDescription
Public propertyChangedEventSuspended
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.)
Public propertyConnected
Is this object connected to a specific database?
Public propertyHasChanged (Inherited from CogSerializableChangedEventBase.)
Public propertyMetadata
Gets or sets the metadata associated with this database.
Public propertyName
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.
Public propertyStateFlags
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.)
Top
See Also