EditorFactoryBase.IVsEditorFactory.SetSite(IServiceProvider) 方法

定义

设置站点。

 virtual int Microsoft.VisualStudio.Shell.Interop.IVsEditorFactory.SetSite(Microsoft::VisualStudio::OLE::Interop::IServiceProvider ^ serviceProvider) = Microsoft::VisualStudio::Shell::Interop::IVsEditorFactory::SetSite;
int IVsEditorFactory.SetSite (Microsoft.VisualStudio.OLE.Interop.IServiceProvider serviceProvider);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsEditorFactory.SetSite : Microsoft.VisualStudio.OLE.Interop.IServiceProvider -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsEditorFactory.SetSite : Microsoft.VisualStudio.OLE.Interop.IServiceProvider -> int
Function SetSite (serviceProvider As IServiceProvider) As Integer Implements IVsEditorFactory.SetSite

参数

serviceProvider
IServiceProvider

IServiceProvider 对象。

返回

定义的整数值,例如 S_OK

实现

适用于