WeakCollection<T> Class

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

Syntax

声明
Public Class WeakCollection(Of T As Class) _
    Implements ICollection(Of T), IEnumerable(Of T),  _
    IEnumerable
用法
Dim instance As WeakCollection(Of T)
public class WeakCollection<T> : ICollection<T>, 
    IEnumerable<T>, IEnumerable
where T : class
generic<typename T>
where T : ref class
public ref class WeakCollection : ICollection<T>, 
    IEnumerable<T>, IEnumerable
type WeakCollection<'T when 'T : not struct> =  
    class
        interface ICollection<'T>
        interface IEnumerable<'T>
        interface IEnumerable
    end
JScript does not support generic types or methods.

Type Parameters

  • T

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.PlatformUI.WeakCollection<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

WeakCollection<T> Members

Microsoft.VisualStudio.PlatformUI Namespace