Delen via


UriExtensions.AddMultiple Method (NameValueCollection, String, IEnumerable<String>)

Namespace:  Microsoft.VisualStudio.Services.Common
Assembly:  Microsoft.VisualStudio.Services.Common (in Microsoft.VisualStudio.Services.Common.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Sub AddMultiple ( _
    collection As NameValueCollection, _
    name As String, _
    values As IEnumerable(Of String) _
)
public static void AddMultiple(
    this NameValueCollection collection,
    string name,
    IEnumerable<string> values
)
[ExtensionAttribute]
public:
static void AddMultiple(
    NameValueCollection^ collection, 
    String^ name, 
    IEnumerable<String^>^ values
)
static member AddMultiple : 
        collection:NameValueCollection * 
        name:string * 
        values:IEnumerable<string> -> unit
public static function AddMultiple(
    collection : NameValueCollection, 
    name : String, 
    values : IEnumerable<String>
)

Parameters

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type NameValueCollection. 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).

.NET Framework Security

See Also

Reference

UriExtensions Class

AddMultiple Overload

Microsoft.VisualStudio.Services.Common Namespace