IVsCodeWindow::GetViewClassID Method (Guid)

 

Returns the text view class to change or query.

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

int GetViewClassID(
	[OutAttribute] Guid% pclsidView
)

Parameters

pclsidView
Type: System::Guid

[out] Pointer to the class identifier (CLSID) of the text view.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

By default, the code window uses CLSID_VsTextView for the edit panes.

From textmgr.idl:

HRESULT IVsCodeWindow::GetViewClassID(
   [out] CLSID *pclsidView
);
Return to top
Show: