次の方法で共有


IVsEditorAdaptersFactoryService.CreateVsCodeWindowAdapter Method

Definition

Create an IVsCodeWindow.

public:
 Microsoft::VisualStudio::TextManager::Interop::IVsCodeWindow ^ CreateVsCodeWindowAdapter(Microsoft::VisualStudio::OLE::Interop::IServiceProvider ^ serviceProvider);
public:
 Microsoft::VisualStudio::TextManager::Interop::IVsCodeWindow ^ CreateVsCodeWindowAdapter(Microsoft::VisualStudio::OLE::Interop::IServiceProvider ^ serviceProvider);
Microsoft::VisualStudio::TextManager::Interop::IVsCodeWindow CreateVsCodeWindowAdapter(Microsoft::VisualStudio::OLE::Interop::IServiceProvider const & serviceProvider);
public Microsoft.VisualStudio.TextManager.Interop.IVsCodeWindow CreateVsCodeWindowAdapter (Microsoft.VisualStudio.OLE.Interop.IServiceProvider serviceProvider);
abstract member CreateVsCodeWindowAdapter : Microsoft.VisualStudio.OLE.Interop.IServiceProvider -> Microsoft.VisualStudio.TextManager.Interop.IVsCodeWindow
Public Function CreateVsCodeWindowAdapter (serviceProvider As IServiceProvider) As IVsCodeWindow

Parameters

serviceProvider
IServiceProvider

The IServiceProvider with which to site the IVsCodeWindow.

Returns

The new IVsCodeWindow.

Exceptions

serviceProvider is null.

Applies to