Assembly: Microsoft.ComponentStudio.ComponentPlatformInterface (in microsoft.componentstudio.componentplatforminterface.dll)
Usage
Visual Basic |
---|
Public Class SomeType1 End Class Public Class SomeType2 End Class Dim writableCollection As KeyedCollection Dim readOnlyKeyedCollection1 As New ReadOnlyKeyedCollection(Of SomeType1, SomeType2)(writableCollection) |
Syntax
Visual Basic |
---|
Public Class ReadOnlyKeyedCollection(Of TKey, TValue) Implements IKeyedCollection(Of TKey, TValue), ICollection, IList(Of TValue), ICollection(Of TValue), IEnumerable(Of TValue), IEnumerable |
C# |
---|
public class ReadOnlyKeyedCollection<TKey, TValue> : IKeyedCollection<TKey, TValue>, ICollection, IList<TValue>, ICollection<TValue>, IEnumerable<TValue>, IEnumerable |
C++ |
---|
generic<typename TKey, typename TValue> public ref class ReadOnlyKeyedCollection : IKeyedCollection<TKey, TValue>, ICollection, IList<TValue>, ICollection<TValue>, IEnumerable<TValue>, IEnumerable |
J# |
---|
public class ReadOnlyKeyedCollection<TKey, TValue> implements IKeyedCollection<TKey, TValue>, ICollection, IList<TValue>, ICollection<TValue>, IEnumerable<TValue>, IEnumerable |
JScript |
---|
JScript does not support Generics. |
Inheritance Hierarchy
System.Object
Microsoft.ComponentStudio.ComponentPlatformInterface.ReadOnlyKeyedCollection
Microsoft.ComponentStudio.ComponentPlatformInterface.AnswerFileWindowsFeatureSelectionCollection
Microsoft.ComponentStudio.ComponentPlatformInterface.PackageActionCollection
Microsoft.ComponentStudio.ComponentPlatformInterface.SourcePathCollection
Microsoft.ComponentStudio.ComponentPlatformInterface.ReadOnlyKeyedCollection
Microsoft.ComponentStudio.ComponentPlatformInterface.AnswerFileWindowsFeatureSelectionCollection
Microsoft.ComponentStudio.ComponentPlatformInterface.PackageActionCollection
Microsoft.ComponentStudio.ComponentPlatformInterface.SourcePathCollection
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.