Share via


BufferedGraphicsManager.Current Eigenschaft

Definition

Ruft den BufferedGraphicsContext für die aktuelle Anwendungsdomäne ab.

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

Eigenschaftswert

Der BufferedGraphicsContext für die aktuelle Anwendungsdomäne.

Beispiele

Im folgenden Codebeispiel wird das Abrufen von BufferedGraphicsContext für die aktuelle Anwendungsdomäne veranschaulicht.

// 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

Hinweise

Innerhalb einer Anwendung gibt die Current -Eigenschaft immer das gleiche BufferedGraphicsContext Objekt zurück.

Gilt für:

Weitere Informationen