XmlMappedRange.Hyperlinks Özellik
Alır bir Hyperlinks köprüler için temsil eden koleksiyonu 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 Hyperlinks As Hyperlinks
Get
Hyperlinks Hyperlinks { get; }
Özellik Değeri
Tür: Microsoft.Office.Interop.Excel.Hyperlinks
A Hyperlinks köprüler için temsil eden koleksiyonu XmlMappedRange Denetim.
Örnekler
Aşağıdaki kod örneği Hyperlinks bir köprü eklemek üzere özellik bir XmlMappedRange. Bu kod örneği, geçerli çalışma sayfasının içerdiğini varsayar bir XmlMappedRange adlı CustomerLastNameCell.
Private Sub AddHyperlink()
Me.CustomerLastNameCell.Hyperlinks.Add( _
Me.CustomerLastNameCell.Cells, "https://www.contoso.com", _
ScreenTip:="Contoso Web Site", TextToDisplay:="www.contoso.com")
End Sub
private void AddHyperlink()
{
this.CustomerLastNameCell.Hyperlinks.Add(
this.CustomerLastNameCell.Cells, "https://www.contoso.com",
missing, "Contoso Web Site", "www.contoso.com");
}
.NET Framework Güvenliği
- Anında arayanlar için tam güven. Bu üye kısmen güvenilen kodla kullanılamaz. Daha fazla bilgi için bkz. kısmen güvenilir kod tarafından Kitaplıklar kullanma.