BufferedGraphicsManager.Current Egenskap

Definition

BufferedGraphicsContext Hämtar för den aktuella programdomänen.

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

Egenskapsvärde

BufferedGraphicsContext För den aktuella programdomänen.

Exempel

Följande kodexempel visar hur BufferedGraphicsContext du hämtar för den aktuella programdomänen.

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

Kommentarer

I ett program Current returnerar egenskapen alltid samma BufferedGraphicsContext objekt.

Gäller för

Se även