CompiledDataContext.GetCompiledDataContextCache 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
擷取資料內容所使用的快取。
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()
參數
- dataContextActivities
- Object
資料內容活動。
- activityContext
- ActivityContext
活動內容。
- compiledRoot
- Activity
編譯過的根目錄。
- forImplementation
- Boolean
如果編譯的資料內容要用於實作,則為 true
,否則為 false
。
- compiledDataContextCount
- Int32
編譯過的資料內容的數目。
傳回
資料內容。