Microsoft.VisualStudio.Project.VsUtilities.OpenDocument C# (CSharp) 메소드

OpenDocument() 정적인 개인적인 메소드

static private OpenDocument ( IServiceProvider serviceProvider, string filename, System.Guid docViewGuid, IVsTextView &viewAdapter, IVsWindowFrame &pWindowFrame ) : void
serviceProvider IServiceProvider
filename string
docViewGuid System.Guid
viewAdapter IVsTextView
pWindowFrame IVsWindowFrame
리턴 void
        internal static void OpenDocument(IServiceProvider serviceProvider, string filename, Guid docViewGuid, out IVsTextView viewAdapter, out IVsWindowFrame pWindowFrame) {
            IVsUIHierarchy hierarchy;
            uint itemid;
            VsShellUtilities.OpenDocumentWithSpecificEditor(
                serviceProvider,
                filename,
                docViewGuid,
                Guid.Empty,
                out hierarchy,
                out itemid,
                out pWindowFrame
            );
            viewAdapter = VsShellUtilities.GetTextView(pWindowFrame);
        }
    }

Same methods

VsUtilities::OpenDocument ( IServiceProvider serviceProvider, string filename, IVsTextView &viewAdapter, IVsWindowFrame &pWindowFrame ) : void