IVsCodeWindow.SetViewClassID(Guid) Method
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.
C++
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
- clsidView
- Guid
[in] Class identifier of the text view to change.
If 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:
cpp#
HRESULT IVsCodeWindow::SetViewClassID(
[in] REFCLSID clsidView
);
Produkt | Versiounen |
---|---|
Visual Studio SDK | 2015, 2017, 2019, 2022 |