C# 클래스 Microsoft.VisualStudio.Project.FileDocumentManager

상속: DocumentManager
파일 보기 프로젝트 열기: tunnelvisionlabs/MPFProj10 1 사용 예제들

공개 메소드들

메소드 설명
FileDocumentManager ( FileNode node ) : System
Open ( System.Guid &logicalView, IntPtr docDataExisting, IVsWindowFrame &windowFrame, WindowFrameShowAction windowFrameAction ) : int

Open a file using the standard editor

Open ( bool newFile, bool openWith, System.Guid logicalView, IVsWindowFrame &frame, WindowFrameShowAction windowFrameAction ) : int

Open a file in a document window with a std editor

Open ( bool newFile, bool openWith, System.Guid &logicalView, IntPtr docDataExisting, IVsWindowFrame &windowFrame, WindowFrameShowAction windowFrameAction ) : int

Open a file in a document window

Open ( bool newFile, bool openWith, WindowFrameShowAction windowFrameAction ) : int

Open a file in a document window with a std editor

OpenWithSpecific ( uint editorFlags, System.Guid &editorType, string physicalView, System.Guid &logicalView, IntPtr docDataExisting, IVsWindowFrame &windowFrame, WindowFrameShowAction windowFrameAction ) : int

Open a file with a specific editor

보호된 메소드들

메소드 설명
Open ( bool newFile, bool openWith, uint editorFlags, System.Guid &editorType, string physicalView, System.Guid &logicalView, IntPtr docDataExisting, IVsWindowFrame &windowFrame, WindowFrameShowAction windowFrameAction ) : int

메소드 상세

FileDocumentManager() 공개 메소드

public FileDocumentManager ( FileNode node ) : System
node FileNode
리턴 System

Open() 공개 메소드

Open a file using the standard editor
public Open ( System.Guid &logicalView, IntPtr docDataExisting, IVsWindowFrame &windowFrame, WindowFrameShowAction windowFrameAction ) : int
logicalView System.Guid In MultiView case determines view to be activated by IVsMultiViewDocumentView. For a list of logical view GUIDS, see constants starting with LOGVIEWID_ defined in NativeMethods class
docDataExisting System.IntPtr IntPtr to the IUnknown interface of the existing document data object
windowFrame IVsWindowFrame A reference to the window frame that is mapped to the file
windowFrameAction WindowFrameShowAction Determine the UI action on the document window
리턴 int

Open() 공개 메소드

Open a file in a document window with a std editor
public Open ( bool newFile, bool openWith, System.Guid logicalView, IVsWindowFrame &frame, WindowFrameShowAction windowFrameAction ) : int
newFile bool Open the file as a new file
openWith bool Use a dialog box to determine which editor to use
logicalView System.Guid In MultiView case determines view to be activated by IVsMultiViewDocumentView. For a list of logical view GUIDS, see constants starting with LOGVIEWID_ defined in NativeMethods class
frame IVsWindowFrame A reference to the window frame that is mapped to the file
windowFrameAction WindowFrameShowAction Determine the UI action on the document window
리턴 int

Open() 공개 메소드

Open a file in a document window
public Open ( bool newFile, bool openWith, System.Guid &logicalView, IntPtr docDataExisting, IVsWindowFrame &windowFrame, WindowFrameShowAction windowFrameAction ) : int
newFile bool Open the file as a new file
openWith bool Use a dialog box to determine which editor to use
logicalView System.Guid In MultiView case determines view to be activated by IVsMultiViewDocumentView. For a list of logical view GUIDS, see constants starting with LOGVIEWID_ defined in NativeMethods class
docDataExisting System.IntPtr IntPtr to the IUnknown interface of the existing document data object
windowFrame IVsWindowFrame A reference to the window frame that is mapped to the file
windowFrameAction WindowFrameShowAction Determine the UI action on the document window
리턴 int

Open() 공개 메소드

Open a file in a document window with a std editor
public Open ( bool newFile, bool openWith, WindowFrameShowAction windowFrameAction ) : int
newFile bool Open the file as a new file
openWith bool Use a dialog box to determine which editor to use
windowFrameAction WindowFrameShowAction Determine the UI action on the document window
리턴 int

Open() 보호된 메소드

protected Open ( bool newFile, bool openWith, uint editorFlags, System.Guid &editorType, string physicalView, System.Guid &logicalView, IntPtr docDataExisting, IVsWindowFrame &windowFrame, WindowFrameShowAction windowFrameAction ) : int
newFile bool
openWith bool
editorFlags uint
editorType System.Guid
physicalView string
logicalView System.Guid
docDataExisting System.IntPtr
windowFrame IVsWindowFrame
windowFrameAction WindowFrameShowAction
리턴 int

OpenWithSpecific() 공개 메소드

Open a file with a specific editor
public OpenWithSpecific ( uint editorFlags, System.Guid &editorType, string physicalView, System.Guid &logicalView, IntPtr docDataExisting, IVsWindowFrame &windowFrame, WindowFrameShowAction windowFrameAction ) : int
editorFlags uint Specifies actions to take when opening a specific editor. Possible editor flags are defined in the enumeration Microsoft.VisualStudio.Shell.Interop.__VSOSPEFLAGS
editorType System.Guid Unique identifier of the editor type
physicalView string Name of the physical view. If null, the environment calls MapLogicalView on the editor factory to determine the physical view that corresponds to the logical view. In this case, null does not specify the primary view, but rather indicates that you do not know which view corresponds to the logical view
logicalView System.Guid In MultiView case determines view to be activated by IVsMultiViewDocumentView. For a list of logical view GUIDS, see constants starting with LOGVIEWID_ defined in NativeMethods class
docDataExisting System.IntPtr IntPtr to the IUnknown interface of the existing document data object
windowFrame IVsWindowFrame A reference to the window frame that is mapped to the file
windowFrameAction WindowFrameShowAction Determine the UI action on the document window
리턴 int