Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.