AFEnumerationSet Methods
- Last UpdatedNov 18, 2025
- 9 minute read
- PI System
- AF SDK 2024 R2
- Developer
The AFEnumerationSet type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| Add(AFEnumerationValue) |
The Add method adds the specified AFEnumerationValue to the AFEnumerationSet.
| |
| Add(String, Int32) |
The Add method creates a new AFEnumerationValue and adds it to
the collection with the specified name and value.
| |
| ApplyChanges |
This method applies the changes to the object and makes
those changes available to other objects for the current user.
| |
| AreEquivalent |
This method compares two AFEnumerationSet objects for equivalence.
| |
| CheckIn |
This method checks in (commits) all the changes to the object by saving
the information to persistent storage.
| |
| CheckOut |
This method locks the object so that its configuration can be modified.
| |
| CheckOutEnumerationSets |
Check out the objects with the specified unique identifiers at the specified query date.
| |
| Clear |
Removes all items from the collection.
| |
| CompareTo(Object) |
Compares this instance with a specified Object.
(Inherited from AFObject.) | |
| CompareTo(AFObject) |
Compares this instance with a specified AFObject.
(Inherited from AFObject.) | |
| Contains(Guid) |
This method determines whether the collection contains a specific item referenced by id.
| |
| Contains(Int32) |
This method determines whether the collection contains a specific item value.
| |
| Contains(String) |
This method determines whether the collection contains a specific item referenced by name.
| |
| Contains(AFEnumerationValue) |
This method determines whether the collection contains a specific item.
| |
| CopyTo |
Copies the entire collection to a compatible one-dimensional Array,
starting at the specified index of the target array.
| |
| DeleteEnumerationSets |
Delete the objects with the specified unique identifiers.
| |
| Equals(Object) |
Determines whether the specified Object is equal to the current object.
(Inherited from AFObject.) | |
| Equals(AFObject) |
Indicates whether the current object is equal to another object of the same type.
(Inherited from AFObject.) | |
| FindEnumerationSet |
Retrieves the AFEnumerationSet object with the specified unique identifier.
| |
| FindEnumerationSets(PISystem, Guid) |
Performs a search within the PISystem to retrieve a collection
of AFEnumerationSet objects with the specified list of unique identifiers.
| |
| FindEnumerationSets(AFDatabase, String, AFSearchField, AFSortField, AFSortOrder, Int32) |
Performs a non-paged text search within the AFDatabase to retrieve a collection
of AFEnumerationSet objects which have a field that match the specified query string.
| |
| GetBySystemStateCode | ||
| GetByValue |
Gets the specified AFEnumerationValue from the collection
by its value.
| |
| GetEnumerator |
Returns an enumerator that iterates through the collection.
| |
| GetHashCode |
Gets the hash code for this instance of the object which is suitable for use in hashing
algorithms and data structures like a hash table.
(Inherited from AFObject.) | |
| GetPath |
Returns the full path to the object, using just the names.
(Inherited from AFObject.) | |
| GetPath(AFObject) |
Returns the path to the object relative from another object.
(Inherited from AFObject.) | |
| GetPath(AFEncodeType, AFObject) |
Returns the path to the object relative from another object,
using the name and/or id as specified
by encodeType.
(Inherited from AFObject.) | |
| GetSecurity |
Gets the AFSecurity information of the specified security item
associated with the object.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IndexOf |
Searches for the specified object and returns the zero-based index of the first
occurrence within the entire collection.
| |
| LoadEnumerationSets(IListAFEnumerationSet) |
Loads the specified list AFEnumerationSet objects.
| |
| LoadEnumerationSets(PISystem, Guid) |
Loads the AFEnumerationSet objects with the specified unique identifiers.
| |
| Persist |
This method returns the persistence string for the object.
(Overrides AFObjectPersist.) | |
| Refresh |
Refreshes the client with any changes that have been made to the object since loaded.
| |
| Remove(Guid) |
Removes the item with the specified id from the collection.
| |
| Remove(Int32) |
The Remove method removes the item from the collection by its value.
| |
| Remove(String) |
The Remove method removes the item from the collection by name.
| |
| Remove(AFEnumerationValue) |
Removes the first occurrence of a specific object from the collection.
| |
| RemoveAt |
Removes the item at the specified index of the collection.
| |
| Sort |
Sorts the items in the entire collection using the default comparer.
| |
| Sort(IComparerAFEnumerationValue) |
Sorts the items in the entire collection using the specified comparer.
| |
| Sort(Int32, Int32, IComparerAFEnumerationValue) |
Sorts the items in a range of items in the collection using the specified comparer.
| |
| ToString |
Returns a String that represents the current object.
(Inherited from AFObject.) | |
| UndoCheckOut |
This method discards all the changes to the object and all sub-objects since the
last call to CheckOut. Any changes since the check out will be lost.
|
Extension Methods
| Name | Description | |
|---|---|---|
| AggregateAFEnumerationValue |
Performs all requested aggregates on the specified items.
(Defined by AFAggregate.) | |
| AggregateAsyncAFEnumerationValue |
Performs all requested aggregates on the specified items asynchronously.
(Defined by AFAggregate.) | |
| BinnedSummaryAFEnumerationValue, TBin |
Generates a summary broken down by the specified bins for items matching the search criteria.
(Defined by AFAggregate.) | |
| BinnedSummaryAsyncAFEnumerationValue, TBin |
Generates a summary broken down by the specified bins for items matching the search criteria asynchronously.
(Defined by AFAggregate.) | |
| ChunkedByAFEnumerationValue |
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.) | |
| FrequencyDistributionAFEnumerationValue |
Generates a frequency distribution for the specified items.
(Defined by AFAggregate.) | |
| FrequencyDistributionAsyncAFEnumerationValue |
Generates a frequency distribution for the specified items asynchronously.
(Defined by AFAggregate.) | |
| GroupedSummaryAFEnumerationValue |
Generates a summary broken down by group for the specified items.
(Defined by AFAggregate.) | |
| GroupedSummaryAsyncAFEnumerationValue |
Generates a histogram for the specified items asynchronously.
(Defined by AFAggregate.) | |
| HistogramAFEnumerationValue, TBin |
Generates a histogram for the specified items with the specified weighting.
(Defined by AFAggregate.) | |
| HistogramAsyncAFEnumerationValue, TBin |
Generates a histogram for the specified items with the specified weighting asynchronously.
(Defined by AFAggregate.) | |
| SummaryAFEnumerationValue(String, AFSummaryTypes) | Overloaded.
Summarizes the specified items.
(Defined by AFAggregate.) | |
| SummaryAFEnumerationValue(String, AFSummaryTypes, String) | Overloaded.
Summarizes the specified items with the specified weighting.
(Defined by AFAggregate.) | |
| SummaryAsyncAFEnumerationValue(String, AFSummaryTypes, CancellationToken) | Overloaded.
Summarizes the specified items asynchronously.
(Defined by AFAggregate.) | |
| SummaryAsyncAFEnumerationValue(String, AFSummaryTypes, String, CancellationToken) | Overloaded.
Summarizes the specified items with the specified weighting asynchronously.
(Defined by AFAggregate.) |
See Also
In This Topic
Related Links
- Add Method
- ApplyChanges Method
- AreEquivalent Method
- CheckIn Method
- CheckOut Method
- CheckOutEnumerationSets Method
- Clear Method
- Contains Method
- CopyTo Method
- DeleteEnumerationSets Method
- FindEnumerationSet Method
- FindEnumerationSets Method
- GetBySystemStateCode Method
- GetByValue Method
- GetEnumerator Method
- GetSecurity Method
- IndexOf Method
- LoadEnumerationSets Method
- Persist Method
- Refresh Method
- Remove Method
- RemoveAt Method
- Sort Method
- UndoCheckOut Method