CompiledDataContext 构造函数

定义

初始化 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))

参数

locations
IList<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

活动上下文。

适用于