Share via


BackupLocationCollection Class

Definition

Represents a collection of BackupLocation objects. This class cannot be inherited.

[System.Runtime.InteropServices.Guid("6CCE165D-2AFB-4c5d-93B4-0DF4C04F0947")]
public sealed class BackupLocationCollection : System.Collections.IList
[<System.Runtime.InteropServices.Guid("6CCE165D-2AFB-4c5d-93B4-0DF4C04F0947")>]
type BackupLocationCollection = class
    interface IList
    interface ICollection
    interface IEnumerable
Public NotInheritable Class BackupLocationCollection
Implements IList
Inheritance
BackupLocationCollection
Attributes
Implements

Constructors

BackupLocationCollection()

Properties

Count

Gets the number of elements contained in the collection.

Item[Int32]

Gets or sets the BackupLocation element at the specified index.

Methods

Add(BackupLocation)

Adds the specified BackupLocation to the end of the collection.

AddRange(ICollection)

Adds the set of specified elements to the end of the collection.

Clear()

Removes all items from the collection.

Contains(BackupLocation)

Determines whether the specified BackupLocation exists in the collection.

CopyTo(Array, Int32)

Copies the elements of the collection to an Array, starting at a particular Array index.

IndexOf(BackupLocation)

Searches for the specified BackupLocation and returns its zero-based index within the collection.

Insert(Int32, BackupLocation)

Inserts the specified BackupLocation to the collection at the specified index.

Remove(BackupLocation)

Removes the specified BackupLocation from this collection.

RemoveAt(Int32)

Removes the BackupLocation at the specified index.

Explicit Interface Implementations

ICollection.IsSynchronized
ICollection.SyncRoot
IEnumerable.GetEnumerator()
IList.Add(Object)
IList.Contains(Object)
IList.IndexOf(Object)
IList.Insert(Int32, Object)
IList.IsFixedSize
IList.IsReadOnly
IList.Item[Int32]
IList.Remove(Object)

Applies to