Udostępnij za pośrednictwem


Metoda VsShellUtilities.OpenDocumentWithSpecificEditor — (IServiceProvider, String, Guid, Guid, IVsUIHierarchy%, UInt32%, IVsWindowFrame%)

Otwiera określony dokument za pomocą edytora określony.

Przestrzeń nazw:  Microsoft.VisualStudio.Shell
Zestaw:  Microsoft.VisualStudio.Shell.11.0 (w Microsoft.VisualStudio.Shell.11.0.dll)

Składnia

'Deklaracja
Public Shared Sub OpenDocumentWithSpecificEditor ( _
    provider As IServiceProvider, _
    fullPath As String, _
    editorType As Guid, _
    logicalView As Guid, _
    <OutAttribute> ByRef hierarchy As IVsUIHierarchy, _
    <OutAttribute> ByRef itemID As UInteger, _
    <OutAttribute> ByRef windowFrame As IVsWindowFrame _
)
public static void OpenDocumentWithSpecificEditor(
    IServiceProvider provider,
    string fullPath,
    Guid editorType,
    Guid logicalView,
    out IVsUIHierarchy hierarchy,
    out uint itemID,
    out IVsWindowFrame windowFrame
)

Parametry

  • editorType
    Typ: System.Guid
    Identyfikator GUID typu edytora do zastosowania.
  • logicalView
    Typ: System.Guid
    Identyfikator GUID logicznym widokiem do otwarcia dokumentu.
  • itemID
    Typ: System.UInt32%
    [out] Identyfikator elementu dokumentu.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

VsShellUtilities Klasa

Przeciążenie OpenDocumentWithSpecificEditor

Przestrzeń nazw Microsoft.VisualStudio.Shell