EditorFactoryBase.IVsEditorFactory.CreateEditorInstance Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Провайдер интероператива.
virtual int Microsoft.VisualStudio.Shell.Interop.IVsEditorFactory.CreateEditorInstance(System::UInt32 createFlags, System::String ^ moniker, System::String ^ physicalView, Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ hierarchy, System::UInt32 itemId, IntPtr existingDocData, [Runtime::InteropServices::Out] IntPtr % docViewIntPtr, [Runtime::InteropServices::Out] IntPtr % docDataIntPtr, [Runtime::InteropServices::Out] System::String ^ % caption, [Runtime::InteropServices::Out] Guid % cmdUIGuid, [Runtime::InteropServices::Out] int % result) = Microsoft::VisualStudio::Shell::Interop::IVsEditorFactory::CreateEditorInstance;
int IVsEditorFactory.CreateEditorInstance(uint createFlags, string moniker, string physicalView, Microsoft.VisualStudio.Shell.Interop.IVsHierarchy hierarchy, uint itemId, IntPtr existingDocData, out IntPtr docViewIntPtr, out IntPtr docDataIntPtr, out string caption, out Guid cmdUIGuid, out int result);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsEditorFactory.CreateEditorInstance : uint32 * string * string * Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * uint32 * nativeint * nativeint * nativeint * string * Guid * int -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsEditorFactory.CreateEditorInstance : uint32 * string * string * Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * uint32 * nativeint * nativeint * nativeint * string * Guid * int -> int
Function CreateEditorInstance (createFlags As UInteger, moniker As String, physicalView As String, hierarchy As IVsHierarchy, itemId As UInteger, existingDocData As IntPtr, ByRef docViewIntPtr As IntPtr, ByRef docDataIntPtr As IntPtr, ByRef caption As String, ByRef cmdUIGuid As Guid, ByRef result As Integer) As Integer Implements IVsEditorFactory.CreateEditorInstance
Параметры
- createFlags
- UInt32
Целочисленное значение флага.
- moniker
- String
Строковое значение, указывающее имя.
- physicalView
- String
Строковое значение, указывающее представление.
- hierarchy
- IVsHierarchy
Объект IVsHierarchy.
- itemId
- UInt32
Целое значение идентификатора товара.
- caption
- String
Указатель на значение строки, содержащее подпись.
- result
- Int32
Указатель на целое число, указывающее результат.
Возвращаемое значение
Определённое целое значение, например S_OK.