Represents a collection of attributes of R objects.
SystemObject Extreme.Data.RRAttributeCollection
Namespace:
Extreme.Data.R
Assembly:
Extreme.Data (in Extreme.Data.dll) Version: 3.1.0
public class RAttributeCollection : IDictionary<string, RObject>,
ICollection<KeyValuePair<string, RObject>>, IEnumerable<KeyValuePair<string, RObject>>,
IEnumerable
Public Class RAttributeCollection
Implements IDictionary(Of String, RObject),
ICollection(Of KeyValuePair(Of String, RObject)), IEnumerable(Of KeyValuePair(Of String, RObject)),
IEnumerable
public ref class RAttributeCollection : IDictionary<String^, RObject^>,
ICollection<KeyValuePair<String^, RObject^>>, IEnumerable<KeyValuePair<String^, RObject^>>,
IEnumerable
type RAttributeCollection =
class
interface IDictionary<string, RObject>
interface ICollection<KeyValuePair<string, RObject>>
interface IEnumerable<KeyValuePair<string, RObject>>
interface IEnumerable
end
The RAttributeCollection type exposes the following members.
| Name | Description |
---|
 | RAttributeCollection |
Constructs a new attribute collection from a dictionary of items.
|
Top
| Name | Description |
---|
 | Count |
Gets the number of attributes in the collection.
|
 | IsReadOnly |
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.
|
Top
| Name | Description |
---|
 | Add |
Adds a new attribute to the collection.
|
 | Clear |
Removes all attributes from the collection.
|
 | ContainsKey |
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.) |
 | GetEnumerator |
Returns an enumerator that iterates over the attributes in the collection.
|
 | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
 | GetType | Gets the Type of the current instance. (Inherited from Object.) |
 | MemberwiseClone | 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.) |
 | TryGetIntegers |
Attempts to get the value of an integer vector attribute.
|
 | TryGetString |
Attempts to get the value of a string attribute.
|
 | TryGetStrings |
Attempts to get the value of a string vector attribute.
|
 | TryGetValue |
Attempts to retrieve the value of the attribute with the specified key
from the collection.
|
Top
| Name | Description |
---|
  | Empty |
Represents an empty, read-only attribute collection.
|
Top
Top
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.
Reference