StringList Constructor (IEnumerable<String>)
Initializes a new instance of the StringList class with the specified enumerable collection of strings.
Namespace: Microsoft.TeamFoundation.Build.Workflow.Activities
Assembly: Microsoft.TeamFoundation.Build.Workflow (in Microsoft.TeamFoundation.Build.Workflow.dll)
Syntax
'Declaration
Public Sub New ( _
collection As IEnumerable(Of String) _
)
public StringList(
IEnumerable<string> collection
)
public:
StringList(
IEnumerable<String^>^ collection
)
new :
collection:IEnumerable<string> -> StringList
public function StringList(
collection : IEnumerable<String>
)
Parameters
collection
Type: System.Collections.Generic.IEnumerable<String>An enumerable collection of strings to add to this StringList instance as items.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.TeamFoundation.Build.Workflow.Activities Namespace