IDocument.CreateCDATASection(String) Method

Definition

Creates a CDATASection node whose value is the specified string.

[Android.Runtime.Register("createCDATASection", "(Ljava/lang/String;)Lorg/w3c/dom/CDATASection;", "GetCreateCDATASection_Ljava_lang_String_Handler:Org.W3c.Dom.IDocumentInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Org.W3c.Dom.ICDATASection? CreateCDATASection (string? data);
[<Android.Runtime.Register("createCDATASection", "(Ljava/lang/String;)Lorg/w3c/dom/CDATASection;", "GetCreateCDATASection_Ljava_lang_String_Handler:Org.W3c.Dom.IDocumentInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member CreateCDATASection : string -> Org.W3c.Dom.ICDATASection

Parameters

data
String

The data for the CDATASection contents.

Returns

The new CDATASection object.

Attributes

Exceptions

NOT_SUPPORTED_ERR: Raised if this document is an HTML document.

Remarks

Creates a CDATASection node whose value is the specified string.

Java documentation for org.w3c.dom.Document.createCDATASection(java.lang.String).

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