Mono Class Library: System.UriBuilder Overview | Members

System.UriBuilder.Uri Property

Gets a Uri instance constructed using the current instance.

public Uri Uri { get; }

Value

A Uri containing the URI components of the current instance.

Exceptions

TypeReason
UriFormatExceptionThe URI constructed using the string representation of the current instance is in an invalid form.

Remarks

This property returns the same Uri instance until modifications are made to the current instance, at which time a new Uri instance is constructed by passing the string representation of the current instance to the Uri(string ) constructor.

Requirements

Namespace: System
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0