Método IVsTextMarkerGlyphDropHandler.DrawCandidateOutlineGlyph
Desenha uma sombra do glifo na margem widget em uma linha de destino possíveis.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (em Microsoft.VisualStudio.TextManager.Interop.dll)
Sintaxe
'Declaração
Function DrawCandidateOutlineGlyph ( _
dwReserved As UInteger, _
hdc As IntPtr, _
pRect As RECT(), _
clrref As UInteger _
) As Integer
int DrawCandidateOutlineGlyph(
uint dwReserved,
IntPtr hdc,
RECT[] pRect,
uint clrref
)
int DrawCandidateOutlineGlyph(
[InAttribute] unsigned int dwReserved,
[InAttribute] IntPtr hdc,
[InAttribute] array<RECT>^ pRect,
[InAttribute] unsigned int clrref
)
abstract DrawCandidateOutlineGlyph :
dwReserved:uint32 *
hdc:IntPtr *
pRect:RECT[] *
clrref:uint32 -> int
function DrawCandidateOutlineGlyph(
dwReserved : uint,
hdc : IntPtr,
pRect : RECT[],
clrref : uint
) : int
Parâmetros
dwReserved
Tipo: UInt32[in] Não use.
hdc
Tipo: IntPtr[in] Identificador para o contexto de exibição para desenhar o glifo.
pRect
Tipo: array<RECT[][in] Ponteiro para uma estrutura RECT que define o retângulo delimitador do glifo.
clrref
Tipo: UInt32[in] Valor de cor RGB do glifo.
Valor de retorno
Tipo: Int32
Se o método for bem-sucedido, ele retorna S_OK.Se ele falhar, ele retorna um código de erro.
Comentários
COM assinatura
De textmgr.idl:
HRESULT IVsTextMarkerGlyphDropHandler::DrawCandidateOutlineGlyph(
[in] DWORD dwReserved,
[in] HDC hdc,
[in] RECT *pRect,
[in] COLORREF clrref
);
Desenhe o mesmo glifo sem considerar se o destino é válido ou não. Serão dada comentários se o destino é válido, o cursor do mouse.
Segurança do .NET Framework
- Confiança total para o chamador imediato. O membro não pode ser usado por código parcialmente confiável. Para obter mais informações, consulte Usando bibliotecas de código parcialmente confiável.