共用方式為


VsShellUtilities.OpenAsMiscellaneousFile Method

Opens the specified miscellaneous file in the specified editor.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'宣告
Public Shared Sub OpenAsMiscellaneousFile ( _
    provider As IServiceProvider, _
    path As String, _
    caption As String, _
    editor As Guid, _
    physicalView As String, _
    logicalView As Guid _
)
public static void OpenAsMiscellaneousFile(
    IServiceProvider provider,
    string path,
    string caption,
    Guid editor,
    string physicalView,
    Guid logicalView
)

Parameters

  • editor
    Type: System.Guid
    The GUID of the editor in which to open the file.
  • physicalView
    Type: System.String
    The name of the kind of window in which to open the editor.

.NET Framework Security

See Also

Reference

VsShellUtilities Class

Microsoft.VisualStudio.Shell Namespace