Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
PathInfo Property

HttpRequest.PathInfo Property

Gets additional path information for a resource with a URL extension.

[Visual Basic]
Public ReadOnly Property PathInfo As String
public string PathInfo {get;}
public: __property String* get_PathInfo();
public function get PathInfo() : String;

Property Value

Additional path information for a resource.


For the URL Http://www.contoso.com/virdir/page.html/tail, the PathInfo value is/tail.


The following example assigns the URL resource extension to a string variable.

[Visual Basic] 
Dim PathInfo As String
 PathInfo = Request.PathInfo

String PathInfo;
 PathInfo = Request.PathInfo;

String* PathInfo;
 PathInfo = Request->PathInfo;

var PathInfo : String = Request.PathInfo


Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

HttpRequest Class | HttpRequest Members | System.Web Namespace

© 2015 Microsoft