Прочетете на английски Редактиране

Споделяне чрез


TrackingAnnotationCollection Constructors

Definition

Initializes a new instance of the TrackingAnnotationCollection class.

Overloads

TrackingAnnotationCollection()

Initializes a new instance of the TrackingAnnotationCollection class.

TrackingAnnotationCollection(IEnumerable<String>)

Initializes a new instance of the TrackingAnnotationCollection class by using a list of string annotations.

TrackingAnnotationCollection()

Initializes a new instance of the TrackingAnnotationCollection class.

C#
public TrackingAnnotationCollection();

Remarks

The TrackingAnnotationCollection is initialized to an empty list.

Applies to

.NET Framework 4.8.1 и други версии
Продукт Версии
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

TrackingAnnotationCollection(IEnumerable<String>)

Initializes a new instance of the TrackingAnnotationCollection class by using a list of string annotations.

C#
public TrackingAnnotationCollection(System.Collections.Generic.IEnumerable<string> annotations);

Parameters

annotations
IEnumerable<String>

An IEnumerable<T> list of string annotations.

Exceptions

annotations is a null reference (Nothing in Visual Basic)

Remarks

The TrackingAnnotationCollection is initialized to contain the strings specified in annotations.

Applies to

.NET Framework 4.8.1 и други версии
Продукт Версии
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1