共用方式為


VsShellUtilities.OpenDocumentWithSpecificEditor Method

Include Protected Members
Include Inherited Members

Opens a document by using the specified editor.

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 OpenDocumentWithSpecificEditor(IServiceProvider, String, Guid, Guid) Opens the specified document by using the specified editor.
Public methodStatic member OpenDocumentWithSpecificEditor(IServiceProvider, String, Guid, Guid, IVsUIHierarchy%, UInt32%, IVsWindowFrame%) Opens the specified document by using the specified editor.

Top

See Also

Reference

VsShellUtilities Class

Microsoft.VisualStudio.Shell Namespace