Delen via


UriExtensions.AppendQuery Method (Uri, NameValueCollection)

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

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function AppendQuery ( _
    uri As Uri, _
    queryValues As NameValueCollection _
) As Uri
public static Uri AppendQuery(
    this Uri uri,
    NameValueCollection queryValues
)
[ExtensionAttribute]
public:
static Uri^ AppendQuery(
    Uri^ uri, 
    NameValueCollection^ queryValues
)
static member AppendQuery : 
        uri:Uri * 
        queryValues:NameValueCollection -> Uri
public static function AppendQuery(
    uri : Uri, 
    queryValues : NameValueCollection
) : Uri

Parameters

Return Value

Type: System.Uri

Usage Note

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

AppendQuery Overload

Microsoft.VisualStudio.Services.Common Namespace