Share via


UrnCollection Members

Include Protected Members
Include Inherited Members

The UrnCollection class represents a collection of Urn objects that represent Uniform Resource Name (URN) addresses.

The UrnCollection type exposes the following members.

Constructors

  Name Description
Public method UrnCollection() Initializes a new instance of the UrnCollection class.

Top

Methods

  Name Description
Public method Add(Urn) Adds a URN to a URN collection.
Public method AddRange(IEnumerable<Urn>)
Public method Clear() Removes all elements from the collection.
Public method Contains(Urn) Specifies if a URN collection contains a URN.
Public method CopyTo(array<Urn[], Int32) Copies members of the collection to an array, starting at the specified index of the array.
Public method Equals(Object) (Inherited from Object.)
Protected method Finalize() (Inherited from Object.)
Public method GetEnumerator() Returns a generic IEnumerator interface.
Public method GetHashCode() (Inherited from Object.)
Public method GetType() (Inherited from Object.)
Public method IndexOf(Urn) Gets the index of a specified URN from a collection.
Public method Insert(Int32, Urn) Inserts a URN at a specified index of a URN collection.
Protected method MemberwiseClone() (Inherited from Object.)
Public method Remove(Urn) Removes a specified URN from a collection.
Public method RemoveAt(Int32) Removes a URN from a collection based on the index of the URN.
Public method ToString() (Inherited from Object.)

Top

Properties

  Name Description
Public property Count Gets the number of Urns in a Urn Collection.
Public property Item[Int32] Gets a Urn object in the collection by index number.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator()
Explicit interface implemetationPrivate property ICollection<Urn>.IsReadOnly

Top