IVsCodeWindow::SetViewClassID Method (Guid)
Visual Studio 2015
Sets the text view class to change or query.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Parameters
- clsidView
-
Type:
System::Guid
[in] Class identifier of the text view to change.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
The code window by default uses CLSID_IVsTextView for the edit panes. To access the class identifier of the view class, call GetViewClassID.
From textmgr.idl:
HRESULT IVsCodeWindow::SetViewClassID(
[in] REFCLSID clsidView
);
Show: