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
活动上下文。