PIStateSets Methods
- Last UpdatedNov 18, 2025
- 5 minute read
- PI System
- AF SDK 2024 R2
- Developer
The PIStateSets type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| Add(String) |
Creates a new PI Digital State set with the passed in name.
| |
| Add(AFEnumerationSet) |
Adds the passed in AFEnumerationSet to the PI Digital State Sets collection.
| |
| Contains(Guid) |
This method determines whether the collection contains a specific item referenced by id.
| |
| Contains(String) |
This method determines whether the collection contains a specific item referenced by name.
| |
| Contains(AFEnumerationSet) |
This method determines whether the collection contains a specific state set.
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| GetEnumerator |
Returns an enumerator that iterates through the collection.
| |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Refresh |
This method updates the PIStateSets collection by checking for updates
on the PIServer.
| |
| Remove(Guid) |
Removes a PI Digital State Set from the PI Data Archive by ID
| |
| Remove(String) |
Removes a PI Digital State Set from the PI Data Archive by name
| |
| Remove(AFEnumerationSet) |
Removes a PI Digital State Set from the PI Data Archive
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
Extension Methods
| Name | Description | |
|---|---|---|
| AggregateAFEnumerationSet |
Performs all requested aggregates on the specified items.
(Defined by AFAggregate.) | |
| AggregateAsyncAFEnumerationSet |
Performs all requested aggregates on the specified items asynchronously.
(Defined by AFAggregate.) | |
| BinnedSummaryAFEnumerationSet, TBin |
Generates a summary broken down by the specified bins for items matching the search criteria.
(Defined by AFAggregate.) | |
| BinnedSummaryAsyncAFEnumerationSet, TBin |
Generates a summary broken down by the specified bins for items matching the search criteria asynchronously.
(Defined by AFAggregate.) | |
| ChunkedByAFEnumerationSet |
This extension method breaks up search results into chunks to make it easier to
page through and process IEnumerableT collections in chunks.
(Defined by AFSDKExtension.) | |
| FrequencyDistributionAFEnumerationSet |
Generates a frequency distribution for the specified items.
(Defined by AFAggregate.) | |
| FrequencyDistributionAsyncAFEnumerationSet |
Generates a frequency distribution for the specified items asynchronously.
(Defined by AFAggregate.) | |
| GroupedSummaryAFEnumerationSet |
Generates a summary broken down by group for the specified items.
(Defined by AFAggregate.) | |
| GroupedSummaryAsyncAFEnumerationSet |
Generates a histogram for the specified items asynchronously.
(Defined by AFAggregate.) | |
| HistogramAFEnumerationSet, TBin |
Generates a histogram for the specified items with the specified weighting.
(Defined by AFAggregate.) | |
| HistogramAsyncAFEnumerationSet, TBin |
Generates a histogram for the specified items with the specified weighting asynchronously.
(Defined by AFAggregate.) | |
| SummaryAFEnumerationSet(String, AFSummaryTypes) | Overloaded.
Summarizes the specified items.
(Defined by AFAggregate.) | |
| SummaryAFEnumerationSet(String, AFSummaryTypes, String) | Overloaded.
Summarizes the specified items with the specified weighting.
(Defined by AFAggregate.) | |
| SummaryAsyncAFEnumerationSet(String, AFSummaryTypes, CancellationToken) | Overloaded.
Summarizes the specified items asynchronously.
(Defined by AFAggregate.) | |
| SummaryAsyncAFEnumerationSet(String, AFSummaryTypes, String, CancellationToken) | Overloaded.
Summarizes the specified items with the specified weighting asynchronously.
(Defined by AFAggregate.) |