次の方法で共有


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

See Also

Reference

VsCodeWindowClass Class

Microsoft.VisualStudio.TextManager.Interop Namespace