XmlNode.IsReadOnly XmlNode.IsReadOnly XmlNode.IsReadOnly XmlNode.IsReadOnly Property

定義

取得值,表示節點是否為唯讀。Gets a value indicating whether the node is read-only.

public:
 virtual property bool IsReadOnly { bool get(); };
public virtual bool IsReadOnly { get; }
member this.IsReadOnly : bool
Public Overridable ReadOnly Property IsReadOnly As Boolean

屬性值

true如果節點是唯讀的,則為,否則為falsetrue if the node is read-only; otherwise, false.

備註

唯讀節點,其屬性、屬性或子節點無法變更。A read-only node is one whose properties, attributes, or child nodes cannot be changed. 您可以從樹狀結構移除唯讀節點,並將它插入其他位置。You can remove a read-only node from the tree and insert it somewhere else. 例如,實體節點一律為唯讀。For example, Entity nodes are always read-only.

這個屬性是文件物件模型的 Microsoft 擴充功能。This property is a Microsoft extension to the Document Object Model (DOM).

適用於