表示由此网站使用的 Web 引用。
命名空间: VsWebSite90
程序集: VsWebSite.Interop90(在 VsWebSite.Interop90.dll 中)
语法
声明
<GuidAttribute("9D6065EC-93A1-4CAA-8985-9B7783330BE7")> _
Public Interface WebReference2 _
Inherits WebReference
[GuidAttribute("9D6065EC-93A1-4CAA-8985-9B7783330BE7")]
public interface WebReference2 : WebReference
[GuidAttribute(L"9D6065EC-93A1-4CAA-8985-9B7783330BE7")]
public interface class WebReference2 : WebReference
[<GuidAttribute("9D6065EC-93A1-4CAA-8985-9B7783330BE7")>]
type WebReference2 =
interface
interface WebReference
end
public interface WebReference2 extends WebReference
WebReference2 类型公开以下成员。
属性
名称 | 说明 | |
---|---|---|
![]() |
ContainingProject | 获取对 DTE 对象(包含此 Web 引用)中的此项目的引用。 (继承自 WebReference。) |
![]() |
ContainingProject | |
![]() |
Discomap | 获取该 Web 引用的发现映射。 (继承自 WebReference。) |
![]() |
Discomap | |
![]() |
DTE | 获取 DTE2 对象包含对网站的引用的。 (继承自 WebReference。) |
![]() |
DTE | |
![]() |
DynamicPropName | 从网站配置中获取一个属性名称。 (继承自 WebReference。) |
![]() |
DynamicPropName | |
![]() |
DynamicUrl | 获取或设置用于访问Web 服务的 URL。 (继承自 WebReference。) |
![]() |
DynamicUrl | |
![]() |
FileCodeModel | 获取 .asmx 文件的 FileCodeModel 对象。 (继承自 WebReference。) |
![]() |
FileCodeModel | |
![]() |
MapType | 获取此 Web 引用的类型。 |
![]() |
Namespace | 获取 WebReference 对象的客户端命名空间。 (继承自 WebReference。) |
![]() |
Namespace | |
![]() |
ProjectItem | 获取 ProjectItem。 (继承自 WebReference。) |
![]() |
ProjectItem | |
![]() |
ServiceDefinitionUrl | 获取已用于获取此服务定义的 URL。 (继承自 WebReference。) |
![]() |
ServiceDefinitionUrl | |
![]() |
ServiceLocationUrl | 获取此 WSDL 文件中定义的第一个服务的服务位置 URL。 (继承自 WebReference。) |
![]() |
ServiceLocationUrl | |
![]() |
ServiceName | 获取此 WSDL 文件中第一个服务的服务名。 (继承自 WebReference。) |
![]() |
ServiceName | |
![]() |
WsdlAppRelativeUrl | 获取此 WSDL 文件的相对 URL。 (继承自 WebReference。) |
![]() |
WsdlAppRelativeUrl |
页首
方法
名称 | 说明 | |
---|---|---|
![]() |
Remove() | 删除此特定 Web 引用。 (继承自 WebReference。) |
![]() |
Remove() | |
![]() |
Update() | 更新此特定 Web 引用。 (继承自 WebReference。) |
![]() |
Update() |
页首
备注
此接口适用于具有以下结构的网站项目:具有一个 App_WebReference 文件夹,该文件夹包含两种 Web 引用类型,即 Discomap 和 Svcmap。 有关更多信息,请参见 MapType 属性主题。
WebReference2 接口继承了 WebReference 接口的所有成员,并添加了 MapType 属性。