Share via


UriHelper.Concatenate Method

Concatenates parts of the Uri together ensuring that any duplicate '/' characters are removed.

Namespace: Microsoft.WindowsAzure.Common.Internals
Assembly: Microsoft.WindowsAzure.Common (in Microsoft.WindowsAzure.Common.dll)

Usage

'Usage
Dim parts As String()
Dim returnValue As String

returnValue = UriHelper.Concatenate(parts)

Syntax

'Declaration
Public Shared Function Concatenate ( _
    ParamArray parts As String() _
) As String
public static string Concatenate (
    params string[] parts
)
public:
static String^ Concatenate (
    ... array<String^>^ parts
)
public static String Concatenate (
    String[] parts
)
public static function Concatenate (
    ... parts : String[]
) : String

Parameters

  • parts
    Parts of the Uri to be combined.

Return Value

Concatenated Uri

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

UriHelper Class
UriHelper Members
Microsoft.WindowsAzure.Common.Internals Namespace