UriBuilder.Path 属性
定义
获取或设置 URI 引用的资源的路径。Gets or sets the path to the resource referenced by the URI.
public:
property System::String ^ Path { System::String ^ get(); void set(System::String ^ value); };
public string Path { get; set; }
member this.Path : string with get, set
Public Property Path As String
属性值
URI 引用的资源的路径。The path to the resource referenced by the URI.
注解
Path属性包含服务器用于解析信息请求的路径信息。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.
路径信息不包括方案、主机名或 URI 的查询部分。The path information does not include the scheme, host name, or query portion of the URI. Path属性始终返回至少一个斜杠 (/) 。The Path property always returns at least a slash (/).