[This is preliminary documentation and is subject to change.]
Returns an IEnumerable<(Of <(<'T>)>)> containing only self.

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 )

- T
- The type of the element of self.

- self (T)
- The object to return an enumeration containing.

An IEnumerable<(Of <(<'T>)>)> containing only self.