UriSchemeKeyedCollection Class
.NET Framework 4.5
Provides a thread-safe collection that contains URIs that are keyed by their transport scheme name.
System.Object
System.Collections.Generic.SynchronizedCollection<Uri>
System.Collections.Generic.SynchronizedKeyedCollection<String, Uri>
System.ServiceModel.UriSchemeKeyedCollection
System.Collections.Generic.SynchronizedCollection<Uri>
System.Collections.Generic.SynchronizedKeyedCollection<String, Uri>
System.ServiceModel.UriSchemeKeyedCollection
Namespace: System.ServiceModel
Assembly: System.ServiceModel (in System.ServiceModel.dll)
The UriSchemeKeyedCollection type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | UriSchemeKeyedCollection | Initializes a new instance of the UriSchemeKeyedCollection class. |
| Name | Description | |
|---|---|---|
![]() | Count | Gets the number of elements contained in the thread-safe collection. (Inherited from SynchronizedCollection<T>.) |
![]() | Dictionary | Gets the dictionary associated with the collection. (Inherited from SynchronizedKeyedCollection<K, T>.) |
![]() | Item[K] | Gets the items with a specified key from the collection. (Inherited from SynchronizedKeyedCollection<K, T>.) |
![]() | Item[Int32] | Gets an element from the thread-safe collection with a specified index. (Inherited from SynchronizedCollection<T>.) |
![]() | Items | Gets the list of elements contained in the thread-safe collection. (Inherited from SynchronizedCollection<T>.) |
![]() | SyncRoot | Gets the object used to synchronize access to the thread-safe collection. (Inherited from SynchronizedCollection<T>.) |
| Name | Description | |
|---|---|---|
![]() | Add | Adds an item to the thread-safe, read-only collection. (Inherited from SynchronizedCollection<T>.) |
![]() | ChangeItemKey | Changes the key for a specified item in the synchronized collection. (Inherited from SynchronizedKeyedCollection<K, T>.) |
![]() | Clear | Removes all items from the collection. (Inherited from SynchronizedCollection<T>.) |
![]() | ClearItems | Clears all items from the collection. (Inherited from SynchronizedKeyedCollection<K, T>.) |
![]() | Contains(T) | Determines whether the collection contains an element with a specific value. (Inherited from SynchronizedCollection<T>.) |
![]() | Contains(K) | Returns a value that indicates whether the collection contains an item with a specified key. (Inherited from SynchronizedKeyedCollection<K, T>.) |
![]() | CopyTo | Copies the elements of the collection to a specified array, starting at a particular index. (Inherited from SynchronizedCollection<T>.) |
![]() | Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetEnumerator | Returns an enumerator that iterates through the synchronized collection. (Inherited from SynchronizedCollection<T>.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetKeyForItem | Gets the key for a specified URI from the collection. (Overrides SynchronizedKeyedCollection<K, T>.GetKeyForItem(T).) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | IndexOf | Returns the index of the first occurrence of a value in the collection. (Inherited from SynchronizedCollection<T>.) |
![]() | Insert | Inserts an item into the collection at a specified index. (Inherited from SynchronizedCollection<T>.) |
![]() | InsertItem | Inserts a URI into the collection at a specified location. (Overrides SynchronizedKeyedCollection<K, T>.InsertItem(Int32, T).) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Remove(T) | Removes the first occurrence of a specified item from the collection. (Inherited from SynchronizedCollection<T>.) |
![]() | Remove(K) | Removes an item with a specified key from the collection and returns a value that indicates whether an item was removed. (Inherited from SynchronizedKeyedCollection<K, T>.) |
![]() | RemoveAt | Removes an item at a specified index from the collection. (Inherited from SynchronizedCollection<T>.) |
![]() | RemoveItem | Removes an item at a specified location from the collection. (Inherited from SynchronizedKeyedCollection<K, T>.) |
![]() | SetItem | Replaces a URI at a specified location of the collection with a new URI. (Overrides SynchronizedKeyedCollection<K, T>.SetItem(Int32, T).) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | ICollection.CopyTo | Copies the elements of the collection to a specified array, starting at a particular index. (Inherited from SynchronizedCollection<T>.) |
![]() ![]() | ICollection<T>.IsReadOnly | Gets a value that indicates whether the collection is read only. (Inherited from SynchronizedCollection<T>.) |
![]() ![]() | ICollection.IsSynchronized | Gets a value that indicates whether the collection is thread safe. (Inherited from SynchronizedCollection<T>.) |
![]() ![]() | ICollection.SyncRoot | Gets the object used to synchronize access to the thread-safe collection. (Inherited from SynchronizedCollection<T>.) |
![]() ![]() | IEnumerable.GetEnumerator | Returns an enumerator that iterates through the synchronized collection. (Inherited from SynchronizedCollection<T>.) |
![]() ![]() | IList.Add | Adds an element to the collection. (Inherited from SynchronizedCollection<T>.) |
![]() ![]() | IList.Contains | Determines whether the collection contains an element with a specific value. (Inherited from SynchronizedCollection<T>.) |
![]() ![]() | IList.IndexOf | Determines the zero-based index of an element in the collection. (Inherited from SynchronizedCollection<T>.) |
![]() ![]() | IList.Insert | Inserts an object into the collection at a specified index. (Inherited from SynchronizedCollection<T>.) |
![]() ![]() | IList.IsFixedSize | Gets a value that indicates whether the collection is fixed in size. (Inherited from SynchronizedCollection<T>.) |
![]() ![]() | IList.IsReadOnly | Gets a value that indicates whether the collection is read only. (Inherited from SynchronizedCollection<T>.) |
![]() ![]() | IList.Item | Gets or sets the item at a specified zero-based index. (Inherited from SynchronizedCollection<T>.) |
![]() ![]() | IList.Remove | Removes the first occurrence of a specified object as an element from the collection. (Inherited from SynchronizedCollection<T>.) |
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

