Export (0) Print
Expand All

VCProject.AddWebReference Method

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.

Show:
© 2015 Microsoft