Show / Hide Table of Contents

Interface IAttributeCollection

Abstract representation of an attribute collection.

Inherited Members
IReadonlyAttributeCollection.Count
IReadonlyAttributeCollection.TryGetValue(String, String)
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public interface IAttributeCollection : IReadonlyAttributeCollection, IEnumerable<Attribute>

Properties

IsReadonly

Gets the readonly flag.

Declaration
bool IsReadonly { get; }
Property Value
System.Boolean

Methods

AddOrReplace(String, String)

Adds or replaces an attribute.

Declaration
void AddOrReplace(string key, string value)
Parameters
System.String key

System.String value

Clear()

Clears all attributes.

Declaration
void Clear()

RemoveKey(String)

Removes the attribute with the given key.

Declaration
bool RemoveKey(string key)
Parameters
System.String key

Returns
System.Boolean

Back to top Built by Itinero, MIT licensed.