Condividi tramite


Proprietà XmlMappedRange.SmartTags

Ottiene un oggetto Microsoft.Office.Interop.Excel.SmartTags che rappresenta l'identificatore per il controllo XmlMappedRange.

Spazio dei nomi:  Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)

Sintassi

'Dichiarazione
ReadOnly Property SmartTags As SmartTags
    Get
SmartTags SmartTags { get; }

Valore proprietà

Tipo: Microsoft.Office.Interop.Excel.SmartTags
Oggetto Microsoft.Office.Interop.Excel.SmartTags che rappresenta l'identificatore per il controllo XmlMappedRange.

Esempi

Nell'esempio di codice riportato di seguito viene utilizzata la proprietà SmartTags per visualizzare il numero di smart tag di un controllo XmlMappedRange. Nell'esempio si presuppone che il foglio di lavoro corrente contenga un controllo XmlMappedRange denominato 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.");
}

Sicurezza di .NET Framework

Vedere anche

Riferimenti

XmlMappedRange Interfaccia

Spazio dei nomi Microsoft.Office.Tools.Excel