แก้ไข

แชร์ผ่าน


CompiledDataContext.GetCompiledDataContextCache Method

Definition

Retrieves the cache used by the data context.

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()

Parameters

dataContextActivities
Object

The data context activities.

activityContext
ActivityContext

The activity context.

compiledRoot
Activity

The compiled root.

forImplementation
Boolean

true if the compiled data context is for implementation; otherwise, false.

compiledDataContextCount
Int32

The number of compiled data context.

Returns

The data context.

Applies to