WebService.AppRelativeUrl 属性

获取 .asmx 文件相对于此网站项目的根 URL 的相对路径。

命名空间:  VsWebSite
程序集:  VsWebSite.Interop(在 VsWebSite.Interop.dll 中)

语法

声明
ReadOnly Property AppRelativeUrl As String
    Get
string AppRelativeUrl { get; }
property String^ AppRelativeUrl {
    String^ get ();
}
abstract AppRelativeUrl : string
function get AppRelativeUrl () : String

属性值

类型:System.String
.asmx 文件相对于此网站项目的根 URL 的相对路径

.NET Framework 安全性

请参见

参考

WebService 接口

VsWebSite 命名空间

VSWebSite

其他资源

引用自动化程序集和 DTE2 对象