UriExtensions.AppendQuery Method (Uri, String, String)
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, _
name As String, _
value As String _
) As Uri
public static Uri AppendQuery(
this Uri uri,
string name,
string value
)
[ExtensionAttribute]
public:
static Uri^ AppendQuery(
Uri^ uri,
String^ name,
String^ value
)
static member AppendQuery :
uri:Uri *
name:string *
value:string -> Uri
public static function AppendQuery(
uri : Uri,
name : String,
value : String
) : Uri
Parameters
- uri
Type: System.Uri
- name
Type: System.String
- value
Type: System.String
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.