SIP .NET Class Library
SIP .NET Class Library
SIP .NET
Independentsoft.Sip.Sdp
AttributeCollection Class
AttributeCollection Methods
Add Method
Contains Method
CopyTo Method
IndexOf Method
Insert Method
Remove Method
ToString Method

# AttributeCollection Methods

The AttributeCollection type exposes the following members.

Methods

| Name | Description
--- | --- | ---
| Add(String) | Adds an Attribute with the specified name to the collection.
| Add(Attribute) | Adds the specified Attribute to the collection.
| Add(AttributeCollection) | Adds a AttributeCollection to the collection.
| Add(String, String) | Adds an Attribute with the specified name and value to the collection.
| Clear | (Inherited from CollectionBase.)
| Contains(String) | Determines whether the AttributeCollection contains a specific attribute.
| Contains(Attribute) | Determines whether the AttributeCollection contains a specific Attribute.
| CopyTo | Copies an Attribute array to the collection, starting at a specified target index.
| Equals | (Inherited from Object.)
| Finalize | (Inherited from Object.)
| GetEnumerator | (Inherited from CollectionBase.)
| GetHashCode | (Inherited from Object.)
| GetType | (Inherited from Object.)
| IndexOf(String) | Returns the zero-based index of the first occurrence of the specified attribute in the collection.
| IndexOf(Attribute) | Returns the zero-based index of the first occurrence of the specified Attribute in the collection.
| Insert(Int32, Attribute) | Inserts the specified Attribute at the specified possition.
| Insert(Int32, String) | Inserts an Attribute specified as a string at the specified possition.
| MemberwiseClone | (Inherited from Object.)
| OnClear | (Inherited from CollectionBase.)
| OnClearComplete | (Inherited from CollectionBase.)
| OnInsert | (Inherited from CollectionBase.)
| OnInsertComplete | (Inherited from CollectionBase.)
| OnRemove | (Inherited from CollectionBase.)
| OnRemoveComplete | (Inherited from CollectionBase.)
| OnSet | (Inherited from CollectionBase.)
| OnSetComplete | (Inherited from CollectionBase.)
| OnValidate | (Inherited from CollectionBase.)
| Remove(String) | Removes an Attribute from the collection, if it is present.
| Remove(Attribute) | Removes an Attribute from the collection, if it is present.
| RemoveAt | (Inherited from CollectionBase.)
| ToString | Converts the value of this instance to its equivalent string representation. (Overrides Object ToString .)

Top
See Also

#### Reference

AttributeCollection Class
Independentsoft.Sip.Sdp Namespace

Copyright 2023 Independentsoft

Send comments on this topic to support@independentsoft.de