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

# MediaCollection Methods

The MediaCollection type exposes the following members.

Methods

| Name | Description
--- | --- | ---
| Add(Media) | Adds a Media to the collection.
| Add(MediaCollection) | Adds a MediaCollection to the collection.
| Clear | (Inherited from CollectionBase.)
| Contains | Determines whether the MediaCollection contains a specific Time.
| CopyTo | Copies an Media 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 | Returns the zero-based index of the first occurrence of the specified node in the collection.
| Insert | Inserts the specified Media 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 | Removes a Media 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

MediaCollection Class
Independentsoft.Sip.Sdp Namespace

Copyright 2023 Independentsoft

Send comments on this topic to support@independentsoft.de