Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Adds a reference to a Web Service to the project.
Namespace: Microsoft.VisualStudio.VCProjectEngine
Assembly: Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)
Syntax
'Declaration
Function AddWebReference ( _
URL As String, _
Name As String _
) As Object
Object AddWebReference(
string URL,
string Name
)
Object^ AddWebReference(
[InAttribute] String^ URL,
[InAttribute] String^ Name
)
abstract AddWebReference :
URL:string *
Name:string -> Object
function AddWebReference(
URL : String,
Name : String
) : Object
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.