This documentation is archived and is not being maintained.

UriBuilder.Uri Property

Gets the Uri instance constructed by the specified UriBuilder instance.

[Visual Basic]
Public ReadOnly Property Uri As Uri
public Uri Uri {get;}
public: __property Uri* get_Uri();
public function get Uri() : Uri;

Property Value

A Uri containing the URI constructed by the UriBuilder.


Exception Type Condition
UriFormatException The URI constructed by the UriBuilder properties is invalid.


The Uri property contains the Uri created by the UriBuilder. Any changes made to the UriBuilder properties are reflected in the Uri property.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Common Language Infrastructure (CLI) Standard

See Also

UriBuilder Class | UriBuilder Members | System Namespace