Class OutlineCodeDefinitionCollection

Class OutlineCodeDefinitionCollection

Tên không gian: Aspose.Tasks Tổng hợp: Aspose.Tasks.dll (25.5.0)

Nó đại diện cho một bộ sưu tập các đối tượng Aspose.Tasks.OutlineCodeDefinition.

public class OutlineCodeDefinitionCollection : IList<outlinecodedefinition>, ICollection<outlinecodedefinition>, IEnumerable<outlinecodedefinition>, IEnumerable

Inheritance

object OutlineCodeDefinitionCollection

Implements

IList , ICollection , IEnumerable , IEnumerable

Thành viên thừa kế

object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Properties

Count

Nhận số lượng các yếu tố chứa trong bộ sưu tập này.

public int Count { get; }

Giá trị bất động sản

int

IsReadOnly

Nó nhận được một giá trị cho thấy liệu bộ sưu tập này chỉ được đọc; nếu không, giả.

public bool IsReadOnly { get; }

Giá trị bất động sản

bool

cái này[int]

Quay lại hoặc đặt mục vào chỉ số cụ thể.

public OutlineCodeDefinition this[int index] { get; set; }

Giá trị bất động sản

OutlineCodeDefinition

Methods

Add(OutlineCodeDefinition)

Thêm mục cụ thể vào bộ sưu tập này.

public void Add(OutlineCodeDefinition item)

Parameters

item OutlineCodeDefinition

các mục cụ thể để thêm vào bộ sưu tập này.

Clear()

Xóa tất cả các mục từ bộ sưu tập này.

public void Clear()

Contains(OutlineCodeDefinition)

Trở lại đúng nếu mục cụ thể được tìm thấy trong bộ sưu tập này; nếu không, giả.

public bool Contains(OutlineCodeDefinition item)

Parameters

item OutlineCodeDefinition

mục cụ thể để tìm.

Returns

bool

đúng nếu mục cụ thể được tìm thấy trong bộ sưu tập này; nếu không, giả.

CopyTo(OutlineCodeDefinition[ ], int)

Sao chép các yếu tố của bộ sưu tập này vào chuỗi cụ thể, bắt đầu từ chỉ số chuỗi cụ thể.

public void CopyTo(OutlineCodeDefinition[] array, int arrayIndex)

Parameters

array OutlineCodeDefinition [ ]

một chiều cụ thể để sao chép các yếu tố để

arrayIndex int

chỉ số dựa trên zero của chuỗi cụ thể nơi sao chép bắt đầu.

GetEnumerator()

Quay lại một danh sách cho bộ sưu tập này.

public IEnumerator<outlinecodedefinition> GetEnumerator()

Returns

IEnumerator < OutlineCodeDefinition >

Một danh sách cho bộ sưu tập này.

IndexOf(OutlineCodeDefinition)

Nó xác định chỉ số của mục cụ thể trong bộ sưu tập này.

public int IndexOf(OutlineCodeDefinition item)

Parameters

item OutlineCodeDefinition

các mục cụ thể để tìm trong bộ sưu tập này.

Returns

int

chỉ số của mục cụ thể nếu được tìm thấy; nếu không, -1.

Insert(Tính năng: OutlineCodeDefinition)

Nhập mục cụ thể vào chỉ số cụ thể.

public void Insert(int index, OutlineCodeDefinition item)

Parameters

index int

chỉ số dựa trên không cụ thể mà mục này nên được nhập vào.

item OutlineCodeDefinition

các mục cụ thể để nhập vào bộ sưu tập này.

Remove(OutlineCodeDefinition)

Xóa sự xuất hiện đầu tiên của một đối tượng cụ thể từ bộ sưu tập này.

public bool Remove(OutlineCodeDefinition item)

Parameters

item OutlineCodeDefinition

đối tượng được xác định để loại bỏ.

Returns

bool

đúng nếu đối tượng được chỉ định đã được loại bỏ thành công từ bộ sưu tập này; nếu không, giả.

RemoveAt(int)

Xóa một mục trên chỉ số cụ thể.

public void RemoveAt(int index)

Parameters

index int

chỉ số dựa trên zero cụ thể để loại bỏ một mục tại.

ToList()

Chuyển đổi đối tượng OutlineCodeDefinitionCollection này sang một danh sách đối tượng Aspose.Tasks.OutlineCodeDefinition.

public List<outlinecodedefinition> ToList()

Returns

List < OutlineCodeDefinition >

Danh sách Aspose.Tasks.OutlineCodeDefinition đối tượng.

 Tiếng Việt