Właściwość XmlMappedRange.SmartTags —

Pobiera Microsoft.Office.Interop.Excel.SmartTags obiekt reprezentujący identyfikator XmlMappedRange kontroli.

Przestrzeń nazw:  Microsoft.Office.Tools.Excel
Zestaw:  Microsoft.Office.Tools.Excel (w Microsoft.Office.Tools.Excel.dll)

Składnia

'Deklaracja
ReadOnly Property SmartTags As SmartTags
SmartTags SmartTags { get; }

Wartość właściwości

Typ: Microsoft.Office.Interop.Excel.SmartTags
A Microsoft.Office.Interop.Excel.SmartTags obiekt reprezentujący identyfikator XmlMappedRange kontroli.

Przykłady

Następujący kod w przykładzie wykorzystano SmartTags właściwość, aby wyświetlić liczbę tagów inteligentnych z XmlMappedRange.W tym przykładzie kodu zakłada, że bieżący arkusz zawiera XmlMappedRange o nazwie 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.");
}

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

XmlMappedRange Interfejs

Przestrzeń nazw Microsoft.Office.Tools.Excel