Visual Basic (Declaration)
<SerializableAttribute> _
<HostProtectionAttribute(SecurityAction.LinkDemand, MayLeakOnAbort := True)> _
Public Class HashSet(Of T) _
Implements ICollection(Of T), IEnumerable(Of T), _
IEnumerable, ISerializable, IDeserializationCallback
Dim instance As HashSet(Of T)
[SerializableAttribute]
[HostProtectionAttribute(SecurityAction.LinkDemand, MayLeakOnAbort = true)]
public class HashSet<T> : ICollection<T>, IEnumerable<T>,
IEnumerable, ISerializable, IDeserializationCallback
[SerializableAttribute]
[HostProtectionAttribute(SecurityAction::LinkDemand, MayLeakOnAbort = true)]
generic<typename T>
public ref class HashSet : ICollection<T>,
IEnumerable<T>, IEnumerable, ISerializable, IDeserializationCallback
JScript does not support generic types or methods.
Type Parameters
- T
-
The type of elements in the list.