Compartir a través de


IVsSwatchClient.RenderCell Method

Renders the cell with the specified criteria, or returns an MSO control ID for one of Microsoft Office's standard controls.

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

Syntax

'Declaración
Function RenderCell ( _
    pRender As VSSWATCHRENDER(), _
    <OutAttribute> ByRef ptcidRet As Integer _
) As Integer
'Uso
Dim instance As IVsSwatchClient
Dim pRender As VSSWATCHRENDER()
Dim ptcidRet As Integer
Dim returnValue As Integer

returnValue = instance.RenderCell(pRender, _
    ptcidRet)
int RenderCell(
    VSSWATCHRENDER[] pRender,
    out int ptcidRet
)
int RenderCell(
    [InAttribute] array<VSSWATCHRENDER>^ pRender, 
    [InAttribute] [OutAttribute] int% ptcidRet
)
abstract RenderCell : 
        pRender:VSSWATCHRENDER[] * 
        ptcidRet:int byref -> int 
function RenderCell(
    pRender : VSSWATCHRENDER[], 
    ptcidRet : int
) : int

Parameters

  • ptcidRet
    Type: System.Int32%
    [In, Out] A pointer to an integer value that represents an MSO control ID.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsSwatchClient::RenderCell(
   [in] VSSWATCHRENDER *pRender, 
   [in, out] int *ptcidRet
);

.NET Framework Security

See Also

Reference

IVsSwatchClient Interface

IVsSwatchClient Members

Microsoft.VisualStudio.Shell.Interop Namespace