XmlEntityReference.Value 属性

定义

获取或设置节点的值。Gets or sets the value of the node.

public:
 virtual property System::String ^ Value { System::String ^ get(); void set(System::String ^ value); };
public override string? Value { get; set; }
public override string Value { get; set; }
member this.Value : string with get, set
Public Overrides Property Value As String

属性值

String

节点的值。The value of the node. 对于 XmlEntityReference 节点,此属性返回 nullFor XmlEntityReference nodes, this property returns null.

例外

节点是只读的。Node is read-only.

设置该属性。Setting the property.

适用于