共用方式為


IVsWebServiceEvents.OnChanged(IVsWebService) Method

Definition

Method called when the Web service changes because of an edit. Your code should refresh references to the Web service after this event.

public:
 int OnChanged(Microsoft::VisualStudio::Shell::Interop::IVsWebService ^ pIVsWebReference);
public:
 int OnChanged(Microsoft::VisualStudio::Shell::Interop::IVsWebService ^ pIVsWebReference);
int OnChanged(Microsoft::VisualStudio::Shell::Interop::IVsWebService const & pIVsWebReference);
public int OnChanged (Microsoft.VisualStudio.Shell.Interop.IVsWebService pIVsWebReference);
abstract member OnChanged : Microsoft.VisualStudio.Shell.Interop.IVsWebService -> int
Public Function OnChanged (pIVsWebReference As IVsWebService) As Integer

Parameters

pIVsWebReference
IVsWebService

[in] Pointer to an IVsWebService interface describing the Web service.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Applies to