IVsMethodTipWindow.Paint 方法
繪製提示視窗。
命名空間: Microsoft.VisualStudio.TextManager.Interop
組件: Microsoft.VisualStudio.TextManager.Interop (在 Microsoft.VisualStudio.TextManager.Interop.dll 中)
語法
'宣告
Function Paint ( _
hdc As IntPtr, _
prc As RECT() _
) As Integer
int Paint(
IntPtr hdc,
RECT[] prc
)
int Paint(
[InAttribute] IntPtr hdc,
[InAttribute] array<RECT>^ prc
)
abstract Paint :
hdc:IntPtr *
prc:RECT[] -> int
function Paint(
hdc : IntPtr,
prc : RECT[]
) : int
參數
hdc
類型:IntPtr[in]要在其中繪製提示視窗顯示內容的控制代碼。
prc
類型:array<RECT[][in]指定 [提示] 視窗的週框。
傳回值
類型:Int32
如果此方法將會成功,則會傳回S_OK。如果失敗,它就會傳回錯誤碼。
備註
COM 簽章
從 textmgr.idl:
HRESULT IVsMethodTipWindow::Paint(
[in] HDC hdc,
[in] const RECT *prc
);
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。