Share via


BufferedGraphicsManager.Current プロパティ

定義

現在のアプリケーション ドメインの BufferedGraphicsContext を取得します。

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

プロパティ値

現在のアプリケーション ドメインに対する BufferedGraphicsContext

次のコード例では、現在のアプリケーション ドメインの を BufferedGraphicsContext 取得する方法を示します。

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

注釈

アプリケーション内では、プロパティは Current 常に同じ BufferedGraphicsContext オブジェクトを返します。

適用対象

こちらもご覧ください