Share via


BufferedGraphicsManager.Current Proprietà

Definizione

Ottiene la classe BufferedGraphicsContext per il dominio applicazione corrente.

public:
 static property System::Drawing::BufferedGraphicsContext ^ Current { System::Drawing::BufferedGraphicsContext ^ get(); };
public static System.Drawing.BufferedGraphicsContext Current { get; }
static member Current : System.Drawing.BufferedGraphicsContext
Public Shared ReadOnly Property Current As BufferedGraphicsContext

Valore della proprietà

Classe BufferedGraphicsContext per il dominio dell'applicazione corrente.

Esempio

Nell'esempio di codice seguente viene illustrato l'acquisizione di BufferedGraphicsContext per il dominio applicazione corrente.

// Retrieves the BufferedGraphicsContext for the 
// current application domain.
BufferedGraphicsContext^ appDomainGraphicsContext =
   BufferedGraphicsManager::Current;
// Retrieves the BufferedGraphicsContext for the
// current application domain.
BufferedGraphicsContext appDomainGraphicsContext =
     BufferedGraphicsManager.Current;
' Retrieves the BufferedGraphicsContext for the 
' current application domain.
Dim appDomainGraphicsContext As BufferedGraphicsContext = BufferedGraphicsManager.Current

Commenti

All'interno di un'applicazione la Current proprietà restituisce sempre lo stesso BufferedGraphicsContext oggetto.

Si applica a

Vedi anche