asp.net.ph

Request.PathInfo Property

System.Web Namespace   HttpRequest Class


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

[ VB ]
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.

Example

The following example shows the simplest way to retrieve and display the PathInfo for the current URL request.

<%= Request.PathInfo %>

NOTE: PathInfo will work only for resources that have a URL extension. If none is found, PathInfo returns null.

See Also

Request.ApplicationPath   Request.FilePath   Request.Path   Request.PhysicalApplicationPath   Request.PhysicalPath   Request.RawUrl   Request.Url   HttpRequest Members Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph