Class FeaturesCollection
- Namespace
- PolarStudio
- Assembly
- PolarStudio.dll
This class is used to provide an interface to specific configurable features.
public class FeaturesCollection : IEnumerable
- Inheritance
-
FeaturesCollection
- Implements
- Inherited Members
- Extension Methods
Properties
this[object]
This method is used to retrieve a specific feature from the features collection.
public Feature this[object pIndex] { get; }
Parameters
pIndex
objectThe index (1-based int or name) of the feature.
Property Value
- Feature
The feature. If not found, an exception is thrown.
Methods
Count()
This method returns the number of features in this collection.
public int Count()
Returns
- int
The number of features.
GetEnumerator()
The enumerator.
public IEnumerator GetEnumerator()
Returns
- IEnumerator
The enumerator.
TryGet(object)
This method can be used to get a specific feature from the collection.
public Feature TryGet(object pIndex)
Parameters
pIndex
object
Returns
- Feature
The feature or Nothing if not found.