Partager via


XmlMappedRange.SmartTags, propriété

Obtient un objet Microsoft.Office.Interop.Excel.SmartTags qui représente l'identificateur du contrôle XmlMappedRange.

Espace de noms :  Microsoft.Office.Tools.Excel
Assembly :  Microsoft.Office.Tools.Excel (dans Microsoft.Office.Tools.Excel.dll)

Syntaxe

'Déclaration
ReadOnly Property SmartTags As SmartTags
    Get
SmartTags SmartTags { get; }

Valeur de propriété

Type : Microsoft.Office.Interop.Excel.SmartTags
Objet Microsoft.Office.Interop.Excel.SmartTags qui représente l'identificateur du contrôle XmlMappedRange.

Exemples

L'exemple de code suivant utilise la propriété SmartTags pour afficher le nombre de balises actives de XmlMappedRange. Cet exemple de code suppose que la feuille de calcul active contient un contrôle XmlMappedRange nommé 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.");
}

Sécurité .NET Framework

Voir aussi

Référence

XmlMappedRange Interface

Microsoft.Office.Tools.Excel, espace de noms