Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

HttpRequest.PathInfo Property

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

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

Property Value

Additional path information for a resource.

Remarks

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

Example

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

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

[C#] 
String PathInfo;
 PathInfo = Request.PathInfo;
    

[C++] 
String* PathInfo;
 PathInfo = Request->PathInfo;


[JScript] 
var PathInfo : String = Request.PathInfo
    

Requirements

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

See Also

HttpRequest Class | HttpRequest Members | System.Web Namespace

Show:
© 2015 Microsoft