Share via


XmlMappedRange.SmartTags Property (2007 System)

Gets a SmartTags object representing the identifier for the XmlMappedRange control.

Namespace:  Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel.v9.0 (in Microsoft.Office.Tools.Excel.v9.0.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; }
[BrowsableAttribute(false)]
public:
property SmartTags^ SmartTags {
    SmartTags^ get ();
}
public function get SmartTags () : SmartTags

Property Value

Type: SmartTags
A 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.");
}

.NET Framework Security

See Also

Reference

XmlMappedRange Class

XmlMappedRange Members

Microsoft.Office.Tools.Excel Namespace