Adds a web reference.
Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Protected Friend Overridable Function AddWebReference As Integer
'使用
Dim returnValue As Integer
returnValue = Me.AddWebReference()
protected internal virtual int AddWebReference()
protected public:
virtual int AddWebReference()
protected internal function AddWebReference() : int
Return Value
Type: System.Int32
When overridden by derived classes, returns S_OK, or an error code if there was an error.
Remarks
By default this method returns OLECMDERR_E_NOTSUPPORTED().
Permissions
- 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.