SetText

Description

The SetText method sets the input string to be the text content of the current PBDOM_CHARACTERDATA object.

Syntax

pbdom_chardata_name.SetText(string strSet)

Argument

Description

pbdom_chardata_name

The name of a PBDOM_CHARACTERDATA

strSet

The string you want set as the text of the PBDOM_CHARACTERDATA


Return value

PBDOM_CHARACTERDATA. The current PBDOM_CHARACTERDATA object modified.

Throws

EXCEPTION_PBDOM_OBJECT_INVALID_FOR_USE -- If this PBDOM_CHARACTERDATA is not a reference to an object derived from PBDOM_CHARACTERDATA.

Usage

The SetText method sets the input string to be the text content of the current PBDOM_CHARACTERDATA object.

See also

GetText

GetTextNormalize

GetTextTrim