UserTrackingLocationCollection 建構函式

定義

初始化 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 為 null 參考 (在 Visual Basic 中為 Nothing)。

備註

UserTrackingLocationCollection 會初始化為包含 UserTrackingLocation 中所指定的 locations 物件。

適用於