UserTrackingLocationCollection Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- locations
- IEnumerable<UserTrackingLocation>
An IEnumerable<T> list of UserTrackingLocation objects.
Exceptions
locations
is a null reference (Nothing
in Visual Basic).
Remarks
The UserTrackingLocationCollection is initialized to contain the UserTrackingLocation objects specified in locations
.