StringCollectionExtensionsAsEnumerableT(StringCollection) Method
Enumerates all the String items in the
specified StringCollection collection,
and returns a IEnumerableT collection.
Namespace: DevCase.Extensions.StringCollectionExtensionsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[EditorBrowsableAttribute(EditorBrowsableState.Always)]
public static IEnumerable<T> AsEnumerable<T>(
this StringCollection source
)
where T : IConvertible
<ExtensionAttribute>
<EditorBrowsableAttribute(EditorBrowsableState.Always)>
Public Shared Function AsEnumerable(Of T As IConvertible) (
source As StringCollection
) As IEnumerable(Of T)
Dim source As StringCollection
Dim returnValue As IEnumerable(Of T)
returnValue = source.AsEnumerable()
public:
[ExtensionAttribute]
[EditorBrowsableAttribute(EditorBrowsableState::Always)]
generic<typename T>
where T : IConvertible
static IEnumerable<T>^ AsEnumerable(
StringCollection^ source
)
[<ExtensionAttribute>]
[<EditorBrowsableAttribute(EditorBrowsableState.Always)>]
static member AsEnumerable :
source : StringCollection -> IEnumerable<'T> when 'T : IConvertible
No code example is currently available or this language may not be supported.
- source StringCollection
-
The source StringCollection.
- T
IEnumerableT
The resulting
IEnumerableT.
In Visual Basic and C#, you can call this method as an instance method on any object of type
StringCollection. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).