VsCodeWindowClass.GetViewClassID Method
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)
Syntax
'宣言
Public Overridable Function GetViewClassID ( _
<OutAttribute> ByRef pclsidView As Guid _
) As Integer
public virtual int GetViewClassID(
out Guid pclsidView
)
public:
virtual int GetViewClassID(
[OutAttribute] Guid% pclsidView
)
abstract GetViewClassID :
pclsidView:Guid byref -> int
override GetViewClassID :
pclsidView:Guid byref -> int
public function GetViewClassID(
pclsidView : Guid
) : int
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.
Implements
IVsCodeWindow.GetViewClassID(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.