[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Overload List
Name | Description | |
---|---|---|
TypedAs<(Of <T>)>(ICollection) |
Given a non-generic ICollection interface, wrap a generic ICollection<T>
interface around it. The generic interface will enumerate the same objects as the
underlying non-generic collection, but can be used in places that require a generic interface.
The underlying non-generic collection must contain only items that
are of type T or a type derived from it. This method is useful
when interfacing older, non-generic collections to newer code that uses generic interfaces.
| |
TypedAs<(Of <T>)>(IEnumerable) |
Given a non-generic IEnumerable interface, wrap a generic IEnumerable<T>
interface around it. The generic interface will enumerate the same objects as the
underlying non-generic collection, but can be used in places that require a generic interface.
The underlying non-generic collection must contain only items that
are of type T or a type derived from it. This method is useful
when interfacing older, non-generic collections to newer code that uses generic interfaces.
| |
TypedAs<(Of <T>)>(IList) |
Given a non-generic IList interface, wrap a generic IList<T>
interface around it. The generic interface will enumerate the same objects as the
underlying non-generic list, but can be used in places that require a generic interface.
The underlying non-generic list must contain only items that
are of type T or a type derived from it. This method is useful
when interfacing older, non-generic lists to newer code that uses generic interfaces.
|