New to Telerik UI for WinForms? Start a free 30-day trial

Definition

Namespace:Telerik.WinControls.UI.Export.ExcelML

Assembly:TelerikData.dll

Syntax:

C#
public class AttributesCollection : IAttributesCollection, IDictionary, ICollection, IEnumerable

Inheritance: objectAttributesCollection

Implements: IAttributesCollectionICollectionIDictionaryIEnumerable

Constructors

C#
public AttributesCollection()
C#
public AttributesCollection(IDictionary dictionary)
Parameters:dictionaryIDictionary

Properties

C#
public int Count { get; }
C#
public bool IsFixedSize { get; }
C#
public bool IsReadOnly { get; }
C#
public bool IsSynchronized { get; }
C#
public ICollection Keys { get; }
C#
public object SyncRoot { get; }

Gets or sets the attribute value for the specified key.

C#
public string this[string key] { get; set; }
Parameters:keystring

The attribute key.

Property Value:

The attribute value associated with the key.

Implements: IAttributesCollection.this[string]

C#
public ICollection Values { get; }

Methods

Adds an attribute entry to the collection.

C#
public void Add(string key, string value)
Parameters:keystring

The attribute name.

valuestring

The attribute value.

Implements: IAttributesCollection.Add(string, string)

C#
public void Clear()

Determines whether an attribute key exists in the collection.

C#
public bool Contains(string key)
Parameters:keystring

The attribute key to locate.

Returns:

bool

true if the key exists; otherwise, false.

Implements: IAttributesCollection.Contains(string)

Copies the attribute values to an array, starting at the specified index.

C#
public void CopyTo(string[] array, int index)
Parameters:arraystring[]

The destination array.

indexint

The zero-based index in the destination array at which copying begins.

Implements: IAttributesCollection.CopyTo(string[], int)

C#
public IDictionaryEnumerator GetEnumerator()
Returns:

IDictionaryEnumerator

Removes an attribute entry from the collection.

C#
public void Remove(string key)
Parameters:keystring

The attribute key to remove.

Implements: IAttributesCollection.Remove(string)