VCProject.AddWebReference Method (String, String)

 

Adds a reference to a Web Service to the project.

Namespace:   Microsoft.VisualStudio.VCProjectEngine
Assembly:  Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)

object AddWebReference(
	string URL,
	string Name
)

Parameters

URL
Type: System.String

Required. URL of the web reference.

Name
Type: System.String

Logical name of the reference.

Return Value

Type: System.Object

Returns a ProjectItem object that is the new Web Reference folder.

Return to top
Show: