CompiledDataContext 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 CompiledDataContext 類別的新執行個體。
多載
CompiledDataContext(IList<Location>) |
使用位置初始化 CompiledDataContext 類別的新執行個體。 |
CompiledDataContext(IList<LocationReference>) |
使用位置參考初始化 CompiledDataContext 類別的新執行個體。 |
CompiledDataContext(IList<LocationReference>, ActivityContext) |
使用位置參考和活動內容,初始化 CompiledDataContext 類別的新執行個體。 |
CompiledDataContext(IList<Location>)
使用位置初始化 CompiledDataContext 類別的新執行個體。
protected:
CompiledDataContext(System::Collections::Generic::IList<System::Activities::Location ^> ^ locations);
protected CompiledDataContext (System.Collections.Generic.IList<System.Activities.Location> locations);
new System.Activities.XamlIntegration.CompiledDataContext : System.Collections.Generic.IList<System.Activities.Location> -> System.Activities.XamlIntegration.CompiledDataContext
Protected Sub New (locations As IList(Of Location))
參數
適用於
CompiledDataContext(IList<LocationReference>)
使用位置參考初始化 CompiledDataContext 類別的新執行個體。
protected:
CompiledDataContext(System::Collections::Generic::IList<System::Activities::LocationReference ^> ^ locationReferences);
protected CompiledDataContext (System.Collections.Generic.IList<System.Activities.LocationReference> locationReferences);
new System.Activities.XamlIntegration.CompiledDataContext : System.Collections.Generic.IList<System.Activities.LocationReference> -> System.Activities.XamlIntegration.CompiledDataContext
Protected Sub New (locationReferences As IList(Of LocationReference))
參數
- locationReferences
- IList<LocationReference>
位置參考。
適用於
CompiledDataContext(IList<LocationReference>, ActivityContext)
使用位置參考和活動內容,初始化 CompiledDataContext 類別的新執行個體。
protected:
CompiledDataContext(System::Collections::Generic::IList<System::Activities::LocationReference ^> ^ locationReferences, System::Activities::ActivityContext ^ activityContext);
protected CompiledDataContext (System.Collections.Generic.IList<System.Activities.LocationReference> locationReferences, System.Activities.ActivityContext activityContext);
new System.Activities.XamlIntegration.CompiledDataContext : System.Collections.Generic.IList<System.Activities.LocationReference> * System.Activities.ActivityContext -> System.Activities.XamlIntegration.CompiledDataContext
Protected Sub New (locationReferences As IList(Of LocationReference), activityContext As ActivityContext)
參數
- locationReferences
- IList<LocationReference>
位置參考。
- activityContext
- ActivityContext
活動內容。