Skip to content

M_CodeJam_UriHelper_Combine_1

Andrew Koryavchenko edited this page Jun 17, 2018 · 2 revisions

UriHelper.Combine Method (Uri, String)

Combine two uris.

Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0

Syntax

C#

public static Uri Combine(
	this Uri baseUri,
	string relativeUri
)

VB

<ExtensionAttribute>
Public Shared Function Combine ( 
	baseUri As Uri,
	relativeUri As String
) As Uri

F#

[<ExtensionAttribute>]
static member Combine : 
        baseUri : Uri * 
        relativeUri : string -> Uri 

Parameters

 

baseUri
Type: System.Uri
Base uri
relativeUri
Type: System.String
Relative uri

Return Value

Type: Uri
Combined 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).

See Also

Reference

UriHelper Class
Combine Overload
CodeJam Namespace

Clone this wiki locally