Class PropCategory
Category properties define a tree-relationship between all properties in a property map.
Implements
Inherited Members
Namespace: ic4
Assembly: ic4dotnet.dll
Syntax
public class PropCategory : Property, IDisposable
Remarks
The root of the tree is always the category property with the name Root.
To find which properties are linked from a category, use the Features property.
Categories can contain other categories recursively. A very simple category tree might look like this:
Root(category)AcquisitionControl(category)AcquisitionStart(command)AcquisitionStop(command)AcquisitionFrameRate(float)
ImageFormatControl(category)Width(integer)Height(integer)
PropCategory instances are created in multiple ways:
- By directly querying a PropertyMap for a category property:
- By casting a Property object obtained from one of the functions returning generic property objects:
Properties
Features
Enumerates the properties in a category property
Declaration
public IEnumerable<Property> Features { get; }
Property Value
| Type | Description |
|---|---|
| IEnumerable<Property> | An enumeration of the properties contained in the category |
Exceptions
| Type | Condition |
|---|---|
| IC4Exception | Check ErrorCode and ToString() for details. |


