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
- uri
Type: System.Uri
- queryValues
Type: System.Collections.Specialized.NameValueCollection
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
- 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.