XmlNode.PreviousText XmlNode.PreviousText XmlNode.PreviousText XmlNode.PreviousText Property

定義

取得這個節點的前置文字節點。Gets the text node that immediately precedes this node.

public:
 virtual property System::Xml::XmlNode ^ PreviousText { System::Xml::XmlNode ^ get(); };
public virtual System.Xml.XmlNode PreviousText { get; }
member this.PreviousText : System.Xml.XmlNode
Public Overridable ReadOnly Property PreviousText As XmlNode

屬性值

備註

這個屬性的效能比PreviousSibling屬性快,但您只能使用它來取得型Text別的節點。This property has faster performance than the PreviousSibling property but you can use it only to get a node of type Text. 若要取得在這個節點之前的任何其他節點類型,請PreviousSibling使用屬性。To get any other type of node that precedes this node, use the PreviousSibling property.

適用於