WebReferences.Add Method (String, String)
Adds a new WebReference object to the specified project, using the specified namespace.
Namespace: VsWebSite
Assembly: VsWebSite.Interop (in VsWebSite.Interop.dll)
Syntax
void Add(
string bstrUrl,
string bstrNamespace
)
void Add(
String^ bstrUrl,
String^ bstrNamespace
)
abstract Add :
bstrUrl:string *
bstrNamespace:string -> unit
Sub Add (
bstrUrl As String,
bstrNamespace As String
)
Parameters
bstrUrl
Type: System.StringThe URL of the service to be added.
bstrNamespace
Type: System.StringThe namespace used to generate the code for the service.
Remarks
Multiple services can be added if referencing a .disco file.
See Also
WebReferences Interface
VsWebSite Namespace
Return to top