共用方式為


ModelingEditorFactory.SetSite(IServiceProvider) Method

Definition

Implementation of the IVsEditorFactory interface.

public:
 virtual int SetSite(Microsoft::VisualStudio::OLE::Interop::IServiceProvider ^ site);
public int SetSite (Microsoft.VisualStudio.OLE.Interop.IServiceProvider site);
abstract member SetSite : Microsoft.VisualStudio.OLE.Interop.IServiceProvider -> int
override this.SetSite : Microsoft.VisualStudio.OLE.Interop.IServiceProvider -> int
Public Function SetSite (site As IServiceProvider) As Integer

Parameters

site
IServiceProvider

An IServiceProvider that we can use to find and proffer services.

Returns

Implements

Applies to