Метод | Описание | |
---|---|---|
FileDocumentManager ( |
||
Open ( System.Guid &logicalView, |
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, |
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, |
Open a file with a specific editor
|
Метод | Описание | |
---|---|---|
Open ( bool newFile, bool openWith, uint editorFlags, System.Guid &editorType, string physicalView, System.Guid &logicalView, |
public FileDocumentManager ( |
||
node | ||
Результат | System |
public Open ( System.Guid &logicalView, |
||
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 | 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 |
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 |
public Open ( bool newFile, bool openWith, System.Guid &logicalView, |
||
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 | 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 |
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 |
protected Open ( bool newFile, bool openWith, uint editorFlags, System.Guid &editorType, string physicalView, System.Guid &logicalView, |
||
newFile | bool | |
openWith | bool | |
editorFlags | uint | |
editorType | System.Guid | |
physicalView | string | |
logicalView | System.Guid | |
docDataExisting | ||
windowFrame | IVsWindowFrame | |
windowFrameAction | WindowFrameShowAction | |
Результат | int |
public OpenWithSpecific ( uint editorFlags, System.Guid &editorType, string physicalView, System.Guid &logicalView, |
||
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 | 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 |