Aracılığıyla paylaş


XmlMappedRange.SmartTags Özellik

Alır bir Microsoft.Office.Interop.Excel.SmartTags nesne tanımlayıcısını temsil eden XmlMappedRange denetim.

Ad alanı:  Microsoft.Office.Tools.Excel
Derleme:  Microsoft.Office.Tools.Excel (Microsoft.Office.Tools.Excel.dll içinde)

Sözdizimi

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

Özellik Değeri

Tür: Microsoft.Office.Interop.Excel.SmartTags
A Microsoft.Office.Interop.Excel.SmartTags nesne tanımlayıcısını temsil eden XmlMappedRange denetim.

Örnekler

Aşağıdaki kod örneğinde SmartTags akıllı etiketlerin sayısını görüntülemek için özelliği bir XmlMappedRange.Bu kod örneği, geçerli çalışma sayfasının içerdiğini varsayar bir XmlMappedRange adlı 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 Güvenliği

Ayrıca bkz.

Başvuru

XmlMappedRange Arabirim

Microsoft.Office.Tools.Excel Ad Alanı