[This is preliminary documentation and is subject to change.]
Returns an IEnumerable<(Of <(<'T>)>)> containing only self.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static IEnumerable<T> AsEnumerable<T>( this T self )
<ExtensionAttribute> _ Public Shared Function AsEnumerable(Of T) ( _ self As T _ ) As IEnumerable(Of T)
[ExtensionAttribute] public: generic<typename T> static IEnumerable<T>^ AsEnumerable( T self )
Generic Template Parameters
- T
- The type of the element of self.
Parameters
- self (T)
- The object to return an enumeration containing.
Return Value
An IEnumerable<(Of <(<'T>)>)> containing only self.