This documentation is archived and is not being maintained.

UriBuilder.Path Property

Gets or sets the path to the resource referenced by the URI.

[Visual Basic]
Public Property Path As String
public string Path {get; set;}
public: __property String* get_Path();
public: __property void set_Path(String*);
public function get Path() : String;
public function set Path(String);

Property Value

The path to the resource referenced by the URI.


The Path property contains the path information that the server uses to resolve requests for information. Typically this is the path to the desired information on the server's file system, although it also can indicate the application or script that the server must run to provide the information.

The path information does not include the scheme, host name, or query portion of the URI. The Path property always returns at least a slash (/).


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