Class CompositeNodeBase

Class CompositeNodeBase

نام ها : Aspose.Note جمع آوری: Aspose.Note.dll (25.4.0)

کلاس غیر ژنتیکی برای گره هایی که می توانند سایر گاره ها را در آن قرار دهند.

public abstract class CompositeNodeBase
       : Node, INode, ICompositeNode
   {
       protected CompositeNodeBase()
       {
       }
       public override void Accept(IVisitor visitor)
       {
           if (visitor != null)
               visitor.VisitCompositeNode(this);
       }
   }

Inheritance

object Node CompositeNodeBase

Derived

CompositeNode , Title

Implements

INode , ICompositeNode

اعضای ارثی

Node.Accept(DocumentVisitor) , Node.Document , Node.IsComposite , Node.NodeType , Node.ParentNode , Node.PreviousSibling , Node.NextSibling , object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

ترکیب NodeBase (NodeType)

یک مثال جدید از کلاس Aspose.Note.CompositeNodeBase را آغاز می کند.

protected CompositeNodeBase(NodeType nodeType)
   {
   }

Parameters

nodeType NodeType

نوع نود است.

Methods

برچسب های ارشیو (Node)

بررسی فیلد مستند یک گره جدید

protected void CheckDocument(Node node)
   {
   }

Parameters

node Node

نوار جدیدی که باید وارد شود

کلمات کلیدی: NodeType

تمام گره های کودک را با توجه به نوع نود دریافت کنید.

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

Parameters

type NodeType

نوع نود

Returns

List &lt؛ INode >

یک لیست از گره های کودک

GetChildNodes()

تمام گره های کودک را با توجه به نوع نود دریافت کنید.

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

Returns

List

یک لیست از گره های کودک

نوع پارامترها

T1

نوع عناصر در لیست بازگردانده

 فارسی