UserTrackingLocationCollection 构造函数

定义

初始化 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是空引用(Visual Basic 中的 Nothing)。

注解

初始化 UserTrackingLocationCollection 为包含 UserTrackingLocation 指定 locations对象。

适用于