次の方法で共有


VsShellUtilities.OpenDocument Method

Include Protected Members
Include Inherited Members

Opens the specified document.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

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

Microsoft.VisualStudio.Shell Namespace