共用方式為


VsShellUtilities.OpenDocument Method

Include Protected Members
Include Inherited Members

Opens the specified document.

Overload List

  Name Description
Public methodStatic member OpenDocument(IServiceProvider, String) Opens the specified document.
Public methodStatic member OpenDocument(IServiceProvider, String, Guid, IVsUIHierarchy%, UInt32%, IVsWindowFrame%) Opens the specified document in the specified view.
Public methodStatic member OpenDocument(IServiceProvider, String, Guid, IVsUIHierarchy%, UInt32%, IVsWindowFrame%, IVsTextView%) Opens the specified document in the specified logical view.

Top

See Also

Reference

VsShellUtilities Class

VsShellUtilities Members

Microsoft.VisualStudio.Shell Namespace