Aracılığıyla paylaş


XmlMappedRange.SmartTags Özellik

Alır bir Microsoft.Office.Interop.Excel.SmartTags nesne tanımlayıcısını gösteren 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
    Get
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ı gösteren XmlMappedRange Denetim.

Örnekler

Aşağıdaki kod örneği SmartTags akıllı etiketlerin sayısını görüntülemek için özellik 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ı