Bagikan melalui


CompiledDataContext.GetCompiledDataContextCache Metode

Definisi

Mengambil cache yang digunakan oleh konteks data.

protected:
 static cli::array <System::Activities::XamlIntegration::CompiledDataContext ^> ^ GetCompiledDataContextCache(System::Object ^ dataContextActivities, System::Activities::ActivityContext ^ activityContext, System::Activities::Activity ^ compiledRoot, bool forImplementation, int compiledDataContextCount);
protected static System.Activities.XamlIntegration.CompiledDataContext[] GetCompiledDataContextCache (object dataContextActivities, System.Activities.ActivityContext activityContext, System.Activities.Activity compiledRoot, bool forImplementation, int compiledDataContextCount);
static member GetCompiledDataContextCache : obj * System.Activities.ActivityContext * System.Activities.Activity * bool * int -> System.Activities.XamlIntegration.CompiledDataContext[]
Protected Shared Function GetCompiledDataContextCache (dataContextActivities As Object, activityContext As ActivityContext, compiledRoot As Activity, forImplementation As Boolean, compiledDataContextCount As Integer) As CompiledDataContext()

Parameter

dataContextActivities
Object

Aktivitas konteks data.

activityContext
ActivityContext

Konteks aktivitas.

compiledRoot
Activity

Akar yang dikompilasi.

forImplementation
Boolean

true jika konteks data yang dikompilasi adalah untuk implementasi; jika tidak, false.

compiledDataContextCount
Int32

Jumlah konteks data yang dikompilasi.

Mengembalikan

Konteks data.

Berlaku untuk