IVsCodeWindow.SetViewClassID(Guid) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the text view class to change or query.
public:
int SetViewClassID(Guid % clsidView);
public int SetViewClassID (ref Guid clsidView);
abstract member SetViewClassID : Guid -> int
Public Function SetViewClassID (ByRef clsidView As Guid) As Integer
Parameters
- clsidView
- Guid
[in] Class identifier of the text view to change.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
The code window by default uses CLSID_IVsTextView for the edit panes. To access the class identifier of the view class, call GetViewClassID.
COM Signature
From textmgr.idl:
HRESULT IVsCodeWindow::SetViewClassID(
[in] REFCLSID clsidView
);