WeakCollection<T> Class
Microsoft internal use only.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.PlatformUI.WeakCollection<T>
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Declaration
Public Class WeakCollection(Of T As Class) _
Implements ICollection(Of T), IEnumerable(Of T), _
IEnumerable
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
The WeakCollection<T> type exposes the following members.
Constructors
Name | Description | |
---|---|---|
WeakCollection<T> | Microsoft internal use only. |
Top
Properties
Name | Description | |
---|---|---|
Count | Microsoft internal use only. |
Top
Methods
Name | Description | |
---|---|---|
Add | Microsoft internal use only. | |
Clear | Microsoft internal use only. | |
Contains | Microsoft internal use only. | |
CopyTo | Microsoft internal use only. | |
Equals | 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.) | |
Find | Microsoft internal use only. | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Remove | Microsoft internal use only. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IEnumerable<T>.GetEnumerator | Microsoft internal use only. | |
IEnumerable.GetEnumerator | Microsoft internal use only. | |
ICollection<T>.IsReadOnly | Microsoft internal use only. |
Top
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.