AFDatabase.TableCategories Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Gets the collection of element categories
maintained by the AFDatabase.
Namespace: OSIsoft.AF
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public AFCategories TableCategories { get; }
Public ReadOnly Property TableCategories As AFCategories Get Dim instance As AFDatabase Dim value As AFCategories value = instance.TableCategories
public: property AFCategories^ TableCategories { AFCategories^ get (); }
member TableCategories : AFCategories with get
Property Value
Type: AFCategoriesThe collection of element categories maintained by the AFDatabase.
Remarks
This collection contains all the available categories on the AFDatabase
that can be values for the AFBaseElement.Categories
or AFElementTemplate.Categories
collection. You can add a new category to this list by calling the Add method for
this collection.