VCProject.AddWebReference(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a reference to a Web Service to the project.
public:
System::Object ^ AddWebReference(System::String ^ URL, System::String ^ Name);
public:
Platform::Object ^ AddWebReference(Platform::String ^ URL, Platform::String ^ Name);
winrt::Windows::Foundation::IInspectable AddWebReference(std::wstring const & URL, std::wstring const & Name);
[System.Runtime.InteropServices.DispId(826)]
public object AddWebReference (string URL, string Name);
[<System.Runtime.InteropServices.DispId(826)>]
abstract member AddWebReference : string * string -> obj
Public Function AddWebReference (URL As String, Name As String) As Object
Parameters
- URL
- String
Required. URL of the web reference.
- Name
- String
Logical name of the reference.
Returns
Returns a ProjectItem object that is the new Web Reference folder.
- Attributes