BufferedGraphicsManager.Current プロパティ

定義

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

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

プロパティ値

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 オブジェクトを返します。

適用対象

こちらもご覧ください