Bagikan melalui


BufferedGraphicsManager.Current Properti

Definisi

BufferedGraphicsContext Mendapatkan untuk domain aplikasi saat ini.

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

Nilai Properti

BufferedGraphicsContext untuk domain aplikasi saat ini.

Contoh

Contoh kode berikut menunjukkan perolehan BufferedGraphicsContext untuk domain aplikasi saat ini.

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

Keterangan

Dalam aplikasi Current , properti selalu mengembalikan objek yang sama BufferedGraphicsContext .

Berlaku untuk

Lihat juga