ServiceCollection<T> Class

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

声明
Public Class ServiceCollection(Of T) _
    Inherits Dictionary(Of Type, T)
用法
Dim instance As ServiceCollection(Of T)
public class ServiceCollection<T> : Dictionary<Type, T>
generic<typename T>
public ref class ServiceCollection : public Dictionary<Type^, T>
type ServiceCollection<'T> =  
    class
        inherit Dictionary<Type, 'T>
    end
JScript does not support generic types or methods.

Type Parameters

  • T

Inheritance Hierarchy

System.Object
  System.Collections.Generic.Dictionary<Type, T>
    Microsoft.VisualStudio.Shell.ServiceCollection<T>

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

ServiceCollection<T> Members

Microsoft.VisualStudio.Shell Namespace