ServiceProviderHierarchy Class
Acts as a hierarchical service provider.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
System.Collections.Generic.SortedList<TKey, TValue>
Microsoft.VisualStudio.Shell.ServiceProviderHierarchy
| Name | Description | |
|---|---|---|
![]() | ServiceProviderHierarchy() | Initializes a new instance of ServiceProviderHierarchy. |
| Name | Description | |
|---|---|---|
![]() | Capacity | (Inherited from SortedList<TKey, TValue>.) |
![]() | Comparer | (Inherited from SortedList<TKey, TValue>.) |
![]() | Count | (Inherited from SortedList<TKey, TValue>.) |
![]() | Item[TKey] | (Inherited from SortedList<TKey, TValue>.) |
![]() | Keys | (Inherited from SortedList<TKey, TValue>.) |
![]() | Values | (Inherited from SortedList<TKey, TValue>.) |
| Name | Description | |
|---|---|---|
![]() | Add(TKey, TValue) | (Inherited from SortedList<TKey, TValue>.) |
![]() | Clear() | (Inherited from SortedList<TKey, TValue>.) |
![]() | ContainsKey(TKey) | (Inherited from SortedList<TKey, TValue>.) |
![]() | ContainsValue(TValue) | (Inherited from SortedList<TKey, TValue>.) |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | GetEnumerator() | (Inherited from SortedList<TKey, TValue>.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetService(Type) | Gets a service of the specified type. |
![]() | GetType() | (Inherited from Object.) |
![]() | IndexOfKey(TKey) | (Inherited from SortedList<TKey, TValue>.) |
![]() | IndexOfValue(TValue) | (Inherited from SortedList<TKey, TValue>.) |
![]() | Remove(TKey) | (Inherited from SortedList<TKey, TValue>.) |
![]() | RemoveAt(Int32) | (Inherited from SortedList<TKey, TValue>.) |
![]() | ToString() | (Inherited from Object.) |
![]() | TrimExcess() | (Inherited from SortedList<TKey, TValue>.) |
![]() | TryGetValue(TKey, TValue) | (Inherited from SortedList<TKey, TValue>.) |
It stores IServiceProvider objects in a sorted dictionary for an ordered retrieval. When GetService is called to retrieve a service, the service providers are queried in a specific order. This is useful when multiple service providers are combined such as in the WindowPane implementation.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



