XmlMappedRange.SmartTags 속성
XmlMappedRange 컨트롤의 식별자를 나타내는 Microsoft.Office.Interop.Excel.SmartTags 개체를 가져옵니다.
네임스페이스: Microsoft.Office.Tools.Excel
어셈블리: Microsoft.Office.Tools.Excel(Microsoft.Office.Tools.Excel.dll)
구문
‘선언
ReadOnly Property SmartTags As SmartTags
SmartTags SmartTags { get; }
속성 값
형식: Microsoft.Office.Interop.Excel.SmartTags
XmlMappedRange 컨트롤의 식별자를 나타내는 Microsoft.Office.Interop.Excel.SmartTags 개체입니다.
예제
다음 코드 예제에서는 SmartTags 속성을 사용하여 XmlMappedRange의 스마트 태그 수를 표시합니다.이 코드 예제에서는 현재 워크시트에 CustomerLastNameCell이라는 XmlMappedRange가 포함되어 있다고 가정합니다.
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 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.