Freigeben über


CompiledDataContext.GetCompiledDataContextCache Methode

Definition

Ruft den Cache ab, der vom Datenkontext verwendet wird.

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

Datenkontextarchiv.

activityContext
ActivityContext

Der Aktivitätskontext.

compiledRoot
Activity

Der kompilierte Stamm.

forImplementation
Boolean

true, wenn der kompilierte Datenkontext für die Implementierung vorgesehen ist, andernfalls false.

compiledDataContextCount
Int32

Die Nummer des kompilierten Datenkontexts.

Gibt zurück

Der Datenkontext.

Gilt für: