Udostępnij za pośrednictwem


INode.TextContent Property

Definition

This attribute returns the text content of this node and its descendants.

public string? TextContent { [Android.Runtime.Register("getTextContent", "()Ljava/lang/String;", "GetGetTextContentHandler:Org.W3c.Dom.INodeInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")] get; [Android.Runtime.Register("setTextContent", "(Ljava/lang/String;)V", "GetSetTextContent_Ljava_lang_String_Handler:Org.W3c.Dom.INodeInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")] set; }
[<get: Android.Runtime.Register("getTextContent", "()Ljava/lang/String;", "GetGetTextContentHandler:Org.W3c.Dom.INodeInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
[<set: Android.Runtime.Register("setTextContent", "(Ljava/lang/String;)V", "GetSetTextContent_Ljava_lang_String_Handler:Org.W3c.Dom.INodeInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
member this.TextContent : string with get, set

Property Value

Attributes

Exceptions

DOMSTRING_SIZE_ERR: Raised when it would return more characters than fit in a DOMString variable on the implementation platform.

NO_MODIFICATION_ALLOWED_ERR: Raised when the node is readonly.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to