UserTrackingLocationCollection 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 UserTrackingLocationCollection 类的新实例。
重载
| 名称 | 说明 |
|---|---|
| UserTrackingLocationCollection() |
初始化 UserTrackingLocationCollection 类的新实例。 |
| UserTrackingLocationCollection(IEnumerable<UserTrackingLocation>) |
使用用户位置列表初始化类的新实例 UserTrackingLocationCollection 。 |
UserTrackingLocationCollection()
初始化 UserTrackingLocationCollection 类的新实例。
public:
UserTrackingLocationCollection();
public UserTrackingLocationCollection();
Public Sub New ()
注解
无参数构造函数将 UserTrackingLocationCollection 初始化为空列表。
适用于
UserTrackingLocationCollection(IEnumerable<UserTrackingLocation>)
使用用户位置列表初始化类的新实例 UserTrackingLocationCollection 。
public:
UserTrackingLocationCollection(System::Collections::Generic::IEnumerable<System::Workflow::Runtime::Tracking::UserTrackingLocation ^> ^ locations);
public UserTrackingLocationCollection(System.Collections.Generic.IEnumerable<System.Workflow.Runtime.Tracking.UserTrackingLocation> locations);
new System.Workflow.Runtime.Tracking.UserTrackingLocationCollection : seq<System.Workflow.Runtime.Tracking.UserTrackingLocation> -> System.Workflow.Runtime.Tracking.UserTrackingLocationCollection
Public Sub New (locations As IEnumerable(Of UserTrackingLocation))
参数
- locations
- IEnumerable<UserTrackingLocation>
例外
locations是空引用(Visual Basic 中的 Nothing)。
注解
初始化 UserTrackingLocationCollection 为包含 UserTrackingLocation 指定 locations对象。