共用方式為


AxHost.GetIPictureFromCursor(Cursor) 方法

定義

傳回與指定的 Cursor 相對應之 OLE IPicture 物件 。

protected:
 static System::Object ^ GetIPictureFromCursor(System::Windows::Forms::Cursor ^ cursor);
protected static object GetIPictureFromCursor (System.Windows.Forms.Cursor cursor);
static member GetIPictureFromCursor : System.Windows.Forms.Cursor -> obj
Protected Shared Function GetIPictureFromCursor (cursor As Cursor) As Object

參數

cursor
Cursor

Cursor,這是代表 Windows 滑鼠指標的影像。

傳回

Object

表示 OLE IPicture 物件的 Object

適用於