AxHost.GetIPictureFromCursor(Cursor) 方法

定义

返回与指定的 Cursor 对应的 OLE IPicture 对象。Returns an OLE IPicture object corresponding to the specified Cursor.

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

参数

cursor
Cursor

一个 Cursor,它是表示 Windows 鼠标指针的图像。A Cursor, which is an image that represents the Windows mouse pointer.

返回

表示 OLE IPicture 对象的 ObjectAn Object representing the OLE IPicture object.

适用于