SIP .NET Class Library
SIP .NET Class Library
SIP .NET
Independentsoft.Sip.Sdp
TimeCollection Class
TimeCollection Constructor
TimeCollection Properties
TimeCollection Methods

# TimeCollection Class

Represents a collection of Time objects.
Inheritance Hierarchy
System
Object
System.Collections
CollectionBase
Independentsoft.Sip.Sdp
TimeCollection

Namespace: Independentsoft.Sip.Sdp
Assembly: Independentsoft.Sip (in Independentsoft.Sip.dll) Version: 1.0.700.17927
Syntax
C#
VB
Copy

    public class TimeCollection : CollectionBase

    Public Class TimeCollection
    	Inherits CollectionBase

The TimeCollection type exposes the following members.

Constructors

| Name | Description
--- | --- | ---
| TimeCollection | Initializes a new instance of the TimeCollection class.

Top
Properties

| Name | Description
--- | --- | ---
| Capacity | (Inherited from CollectionBase.)
| Count | (Inherited from CollectionBase.)
| InnerList | (Inherited from CollectionBase.)
| Item | Gets or sets the value associated with the specified index. In C#, this property is the indexer for the TimeCollection class.
| List | (Inherited from CollectionBase.)

Top
Methods

| Name | Description
--- | --- | ---
| Add(Time) | Adds a Time to the collection.
| Add(TimeCollection) | Adds a TimeCollection to the collection.
| Add(DateTime, DateTime) | Adds a Time specified with start and end time to the collection.
| Add(DateTime, DateTime, RepeatTime) | Adds a Time specified with start, end and repeat time to the collection.
| Clear | (Inherited from CollectionBase.)
| Contains | Determines whether the TimeCollection contains a specific Time.
| CopyTo | Copies an Time 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 Time 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 Time 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

Independentsoft.Sip.Sdp Namespace

Copyright 2023 Independentsoft

Send comments on this topic to support@independentsoft.de