編輯

共用方式為


UserTrackingLocationCollection Constructors

Definition

Initializes a new instance of the UserTrackingLocationCollection class.

Overloads

UserTrackingLocationCollection()

Initializes a new instance of the UserTrackingLocationCollection class.

UserTrackingLocationCollection(IEnumerable<UserTrackingLocation>)

Initializes a new instance of the UserTrackingLocationCollection class by using a list of user locations.

UserTrackingLocationCollection()

Initializes a new instance of the UserTrackingLocationCollection class.

public:
 UserTrackingLocationCollection();
public UserTrackingLocationCollection ();
Public Sub New ()

Remarks

The parameterless constructor initializes the UserTrackingLocationCollection to an empty list.

Applies to

UserTrackingLocationCollection(IEnumerable<UserTrackingLocation>)

Initializes a new instance of the UserTrackingLocationCollection class by using a list of user locations.

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))

Parameters

Exceptions

locations is a null reference (Nothing in Visual Basic).

Remarks

The UserTrackingLocationCollection is initialized to contain the UserTrackingLocation objects specified in locations.

Applies to