VsCodeWindowClass.SetViewClassID Method
Sets the text view class to change or query.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'Declaration
Public Overridable Function SetViewClassID ( _
ByRef clsidView As Guid _
) As Integer
public virtual int SetViewClassID(
ref Guid clsidView
)
public:
virtual int SetViewClassID(
[InAttribute] Guid% clsidView
)
abstract SetViewClassID :
clsidView:Guid byref -> int
override SetViewClassID :
clsidView:Guid byref -> int
public function SetViewClassID(
clsidView : Guid
) : int
Parameters
clsidView
Type: System.Guid%[in] Class identifier of the text view to change.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
IVsCodeWindow.SetViewClassID(Guid%)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.