Partilhar via


IVsCodeWindow.GetViewClassID(Guid) Method

Definition

Returns the text view class to change or query.

public:
 int GetViewClassID([Runtime::InteropServices::Out] Guid % pclsidView);
public int GetViewClassID (out Guid pclsidView);
abstract member GetViewClassID : Guid -> int
Public Function GetViewClassID (ByRef pclsidView As Guid) As Integer

Parameters

pclsidView
Guid

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

Returns

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

Remarks

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

COM Signature

From textmgr.idl:

HRESULT IVsCodeWindow::GetViewClassID(  
   [out] CLSID *pclsidView  
);  

Applies to