Dela via


XmlDocument.CreateCDataSection(String) Method

Definition

Creates a CDATA section node that contains the supplied data.

public:
 virtual XmlCDataSection ^ CreateCDataSection(Platform::String ^ data) = CreateCDataSection;
XmlCDataSection CreateCDataSection(winrt::hstring const& data);
public XmlCDataSection CreateCDataSection(string data);
function createCDataSection(data)
Public Function CreateCDataSection (data As String) As XmlCDataSection

Parameters

data
String

Platform::String

winrt::hstring

The value to be supplied to the new CDATA section object's NodeValue property.

Returns

The newly created object.

Applies to