Caption Property

The Caption property is a read-only property that enables you to retrieve the text that is displayed at the top of the smart tag menu. The Caption property is set when you create the smart tag, and it passes the smart tag's unique namespace identifier and caption. In the example in Listing 9.4, the caption passed is "Control Smart Tag." It is displayed at the top of the Smart Tag menu, followed by the recognized term or expression, as shown in Figure 9.7.

Figure 9.7. The caption of a smart tag

0 0

Post a comment