RAttribute Collection Class
Represents a collection of attributes of R objects.
Definition
Namespace: Extreme.Data.R
Assembly: Extreme.Data (in Extreme.Data.dll) Version: 3.2.0
C#
Assembly: Extreme.Data (in Extreme.Data.dll) Version: 3.2.0
public class RAttributeCollection : IDictionary<string, RObject>,
ICollection<KeyValuePair<string, RObject>>, IEnumerable<KeyValuePair<string, RObject>>,
IEnumerable
- Inheritance
- Object → RAttributeCollection
- Implements
- ICollection<KeyValuePair<String, RObject>>, IDictionary<String, RObject>, IEnumerable<KeyValuePair<String, RObject>>, IEnumerable
Remarks
Use the RAttributeCollection class to access the attributes of an R object. The class is a dictionary that maps attribute names (strings) to attributes, which can be objects of any type.
Constructors
RAttribute | Constructs a new attribute collection from a dictionary of items. |
Properties
Count | Gets the number of attributes in the collection. |
IsRead | Gets whether the collection is read-only. |
Item | Gets or sets an attribute in the collection. |
Keys | Gets a collection of the names of the attributes. |
Values | Gets a collection of the values of the attributes. |
Methods
Add | Adds a new attribute to the collection. |
Clear | Removes all attributes from the collection. |
Contains | Returns whether the collection contains an attribute with the specified name. |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
Get | Returns an enumerator that iterates over the attributes in the collection. |
Get | Serves as the default hash function. (Inherited from Object) |
Get | Gets the Type of the current instance. (Inherited from Object) |
Memberwise | Creates a shallow copy of the current Object. (Inherited from Object) |
Remove | Removes the attribute with the specified name from the collection. |
ToString | Returns a string that represents the current object. (Inherited from Object) |
Try | Attempts to get the value of an integer vector attribute. |
Try | Attempts to get the value of a string attribute. |
Try | Attempts to get the value of a string vector attribute. |
Try | Attempts to retrieve the value of the attribute with the specified key from the collection. |
Fields
Empty | Represents an empty, read-only attribute collection. |
Extension Methods
Group<KeyValuePair<String, RObject>> |
Returns a grouping by the unique elements in a sequence.
(Defined by Grouping) |
Group<KeyValuePair<String, RObject>> |
Returns a grouping by the unique elements in a sequence
using the specified comparer to determine equality.
(Defined by Grouping) |
Sum<KeyValuePair<String, RObject>> |
Computes the sum of the sequence of values.
(Defined by ArrayMath) |
Sum<KeyValuePair<String, RObject>, U> |
Computes the sum of the sequence of values that are obtained
by invoking a transform function on each element of the input sequence.
(Defined by ArrayMath) |