Interface ICompositeNode

Interface ICompositeNode

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

Giao diện cho các nút có thể chứa các nod khác.

public interface ICompositeNode
   {
      ICompositeNode Parent { get; set; }
      IEnumerable<ICompositeNode> Children { get; }
   }

Methods

Nhãn hiệu: GetChildNodes (NodeType)

Nhận tất cả các nút của trẻ theo loại nút.

[Obsolete("Use GetChildNodes<t>() method instead.")]
   List<inode> GetChildNodes(NodeType type)
   {
   }

Parameters

type NodeType

Các loại node

Returns

List < INode >

Một danh sách các nút trẻ em.

GetChildNodes()

Nhận tất cả các nút của trẻ theo loại nút.

List<T1> GetChildNodes<T1>() where T1 : class, INode
   {
   }

Returns

List

Một danh sách các nút trẻ em.

Loại Parameters

T1

Loại các yếu tố trong danh sách trả về.

 Tiếng Việt