XmlMappedRange.SmartTags Property (2003 System)

Gets a Microsoft.Office.Interop.Excel.SmartTags object representing the identifier for the XmlMappedRange control.

Namespace:  Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)

Syntax

'Declaration
<BrowsableAttribute(False)> _
Public ReadOnly Property SmartTags As SmartTags
'Usage
Dim instance As XmlMappedRange
Dim value As SmartTags

value = instance.SmartTags
[BrowsableAttribute(false)]
public SmartTags SmartTags { get; }

Property Value

Type: Microsoft.Office.Interop.Excel.SmartTags
A Microsoft.Office.Interop.Excel.SmartTags object representing the identifier for the XmlMappedRange control.

Examples

The following code example uses the SmartTags property to display the number of smart tags of an XmlMappedRange. This code example assumes that the current worksheet contains an XmlMappedRange named CustomerLastNameCell.

Private Sub DisplaySmartTagsCount()
    MsgBox("The XmlMappedRange has " & _
        Me.CustomerLastNameCell.SmartTags.Count & " smart tags.")
End Sub
private void DisplaySmartTagsCount()
{
    MessageBox.Show("The XmlMappedRange has " +
        this.CustomerLastNameCell.SmartTags.Count + " smart tags.");
}

Permissions

See Also

Reference

XmlMappedRange Class

XmlMappedRange Members

Microsoft.Office.Tools.Excel Namespace