VsShellUtilities.OpenAsMiscellaneousFile Method
Opens the specified miscellaneous file in the specified editor.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
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
)
public:
static void OpenAsMiscellaneousFile(
IServiceProvider^ provider,
String^ path,
String^ caption,
Guid editor,
String^ physicalView,
Guid logicalView
)
static member OpenAsMiscellaneousFile :
provider:IServiceProvider *
path:string *
caption:string *
editor:Guid *
physicalView:string *
logicalView:Guid -> unit
public static function OpenAsMiscellaneousFile(
provider : IServiceProvider,
path : String,
caption : String,
editor : Guid,
physicalView : String,
logicalView : Guid
)
Parameters
provider
Type: IServiceProvider
path
Type: StringThe path of the file.
caption
Type: StringThe name of the file.
editor
Type: GuidThe GUID of the editor in which to open the file.
physicalView
Type: StringThe name of the kind of window in which to open the editor.
logicalView
Type: GuidThe logical view of the editor, for example LOGVIEWID_TextView.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.