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
'宣告
Function RenderCell ( _
pRender As VSSWATCHRENDER(), _
<OutAttribute> ByRef ptcidRet As Integer _
) As Integer
'用途
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
- pRender
Type: array<Microsoft.VisualStudio.Shell.Interop.VSSWATCHRENDER[]
[In] A pointer to an object of type VSSWATCHRENDER[].
- 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
- 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.