IVsTextMarkerGlyphDropHandler.DrawCandidateOutlineGlyph 方法
在可能的目的地行的 widget 邊界會以圖像的陰影。
命名空間: Microsoft.VisualStudio.TextManager.Interop
組件: Microsoft.VisualStudio.TextManager.Interop (在 Microsoft.VisualStudio.TextManager.Interop.dll 中)
語法
'宣告
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
參數
dwReserved
類型:UInt32[in]請勿使用。
hdc
類型:IntPtr[in]要在其中繪製圖像 (glyph) 顯示內容的控制代碼。
pRect
類型:array<RECT[][in]定義圖像 (glyph) 的週框的矩形結構的指標。
clrref
類型:UInt32[in]圖像 (glyph) 的 RGB 色彩值。
傳回值
類型:Int32
如果此方法將會成功,則會傳回S_OK。如果失敗,它就會傳回錯誤碼。
備註
COM 簽章
從 textmgr.idl:
HRESULT IVsTextMarkerGlyphDropHandler::DrawCandidateOutlineGlyph(
[in] DWORD dwReserved,
[in] HDC hdc,
[in] RECT *pRect,
[in] COLORREF clrref
);
繪製相同圖像 (glyph),而不管是否目的地是否有效。 目的地有效的意見反應的皆會使用滑鼠游標。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。