Share via


EditorFactoryBase.IVsEditorFactory.CreateEditorInstance Method

Definition

The interop provider.

 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

Parameters

createFlags
UInt32

Integer flag value.

moniker
String

A string value that specifies the moniker.

physicalView
String

A string value that specifies the view.

hierarchy
IVsHierarchy

A IVsHierarchy object.

itemId
UInt32

Integer value of the item ID.

existingDocData
IntPtr

nativeint

A IntPtr.

docViewIntPtr
IntPtr

nativeint

A pointer to a IntPtr.

docDataIntPtr
IntPtr

nativeint

A pointer to a IntPtr.

caption
String

A pointer to a string value that contains the caption.

cmdUIGuid
Guid

A pointer to Guid of UI.

result
Int32

Pointer to an integer that indicates the result.

Returns

A defined integer value, such as S_OK.

Implements

Applies to