Table of contents
TOC
Collapse the table of content
Expand the table of content

GetText Method (Microsoft Forms)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Retrieves a text string from the DataObject using the specifiedformat. SyntaxString = object. GetText( [ format ] ) The GetText method syntax has these parts:

PartDescription
objectRequired. A valid object name.
formatOptional. A string or integer specifying the format of the data to retrieve from the DataObject.

Settings The settings for format are:

ValueDescription
1Text format.
A string or any integer other than 1A user-defined DataObject format passed to the DataObject from SetText.

Remarks The DataObject supports multiple formats, but only supports one data item of each format. For example, the DataObject might include one text item and one item in a custom format; but cannot include two text items. If no format is specified, the GetText method requests information in the Text format from the DataObject.

© 2018 Microsoft