UriBuilder Constructor (Uri)

UriBuilder Constructor (Uri)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Initializes a new instance of the UriBuilder class with the specified Uri instance.

Namespace:  System
Assembly:  System (in System.dll)

'Declaration
Public Sub New ( _
	uri As Uri _
)

Parameters

uri
Type: System.Uri
An instance of the Uri class.

ExceptionCondition
NullReferenceException

uri is Nothing.

This constructor initializes a new instance of the UriBuilder class with the Fragment, Host, Path, Port, Query, Scheme, and Uri properties set as specified in uri.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft