CursorInteropHelper.Create(SafeHandle) Metodo

Definizione

Restituisce un oggetto Windows Presentation Foundation (macchine virtuali Windows) Cursor basato su un handle di cursore Win32 fornito.

public:
 static System::Windows::Input::Cursor ^ Create(System::Runtime::InteropServices::SafeHandle ^ cursorHandle);
[System.Security.SecurityCritical]
public static System.Windows.Input.Cursor Create(System.Runtime.InteropServices.SafeHandle cursorHandle);
public static System.Windows.Input.Cursor Create(System.Runtime.InteropServices.SafeHandle cursorHandle);
[<System.Security.SecurityCritical>]
static member Create : System.Runtime.InteropServices.SafeHandle -> System.Windows.Input.Cursor
static member Create : System.Runtime.InteropServices.SafeHandle -> System.Windows.Input.Cursor
Public Shared Function Create (cursorHandle As SafeHandle) As Cursor

Parametri

cursorHandle
SafeHandle

Riferimento al cursore da utilizzare per l'interoperabilità.

Valori restituiti

Oggetto cursore Windows Presentation Foundation (macchine virtuali Windows) basato sull'handle del cursore Win32 fornito.

Attributi

Commenti

L'impostazione di un'immagine di cursore personalizzata richiede autorizzazioni di sicurezza anche se eseguite nella programmazione macchine virtuali Windows pura. Vedete Cursor.

Si applica a

Vedi anche