DataType Property

Specifies the Visual FoxPro data type for the field in the XML document.

XMLField.DataType 

Return Value

Character data type (C(1)). The DataType property contains the name of a Visual FoxPro data type for the XMLField object.

Remarks

Applies To: XMLField Class

When DataType is set to the Blob or Varbinary type, the XMLField IsBinary and NoCpTrans properties are set to True (.T.) automatically and the XMLField DisableEncode property is set to False (.F.). Changes to these properties cannot be made when XMLField DataType is set to Blob or Varbinary.

For more information about Visual FoxPro and XML data type mapping, see Visual FoxPro and XML Schema Data Type Mapping.

See Also

Reference

XMLField Object Properties, Methods, and Events

Other Resources

Properties (Visual FoxPro)