Converts a IEnumerable of string into a Strings collection.
Namespace:
MFiles.VAF.Common
Assembly:
MFiles.VAF (in MFiles.VAF.dll) Version: 2.3.623.2
Syntaxpublic static Strings ToStrings(
this IEnumerable<string> collection
)
<ExtensionAttribute>
Public Shared Function ToStrings (
collection As IEnumerable(Of String)
) As Strings
public:
[ExtensionAttribute]
static Strings^ ToStrings(
IEnumerable<String^>^ collection
)
Parameters
- collection
- Type: System.Collections.GenericIEnumerableString
IEnumerable of string
Return Value
Type:
StringsPopulated Strings collection.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IEnumerableString. 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).
See Also