Contains the XML Schema Definition (XSD) maxLength value.
Note |
|---|
|
XSDmaxLength is disregarded unless XMLField XSDtype is a nonempty value. |
The following XMLAdapter methods populate the XSDmaxLength property as appropriate:
XMLField.XSDmaxLength |
Return Value
Character data type. XSDmaxLength specifies the XSD maximum number of units of length.
Remarks
Applies To: XMLField Class
When generating XML using the XMLAdapter ToXML method, you can set this property to specify the maxLength restriction in the XSD schema. You might need this behavior when the maxLength value required for the schema differs from what Visual FoxPro would otherwise calculate. Visual FoxPro does not perform validation in this situation; therefore, you need to make sure the data conforms to the restrictions imposed by maxLength.
Note
Microsoft Visual FoxPro 9 SP2 Help file, VFPX Edition v1.08