Share via


WrapInCDATA Property

Specifies whether the field is wrapped in CDATA sections.

WrapInCDATA applies only to Character, Character (Binary), Memo, or Memo (Binary) fields and when executing the XMLAdapterToXML method, which creates XML consistent with its setting.

XMLField.WrapInCDATA [= lValue]

Property Values

Logical data type. The value of WrapInCDATA defaults to the value of XMLAdapterWrapMemoInCDATA or WrapCharInCDATA properties as appropriate. The following table lists values for lValue.

lValue Description
True (.T.) The field is wrapped in CDATA sections.
False (.F.) The field is not wrapped in CDATA sections.

See Also

Properties | XMLField Object Properties, Methods, and Events | Visual FoxPro Data and Field Types | ToXML Method | WrapMemoInCDATA Property | WrapCharInCDATA Property

Applies To: XMLField Class