Export (0) Print
Expand All

UriBuilder Constructor

Initializes a new instance of the UriBuilder class.

Namespace:  System
Assemblies:   System.Runtime.Extensions (in System.Runtime.Extensions.dll)
  System (in System.dll)

public UriBuilder()

The default constructor creates a new instance of the UriBuilder class with its properties initialized as follows.

Property

Initial Value

Fragment

Empty

Host

"loopback"

Password

Empty

Path

"/"

Port

-1

Query

Empty

Scheme

"http"

UserName

Empty

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Portable Class Library

Supported in: Portable Class Library

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8
Show:
© 2015 Microsoft