ListObject.AlternativeText Property
Gets or sets the descriptive (alternative) text string for the specified table.
Namespace: Microsoft.Office.Tools.Excel
Assembly: Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
Syntax
'Declaration
Property AlternativeText As String
string AlternativeText { get; set; }
Property Value
Type: System.String
A string that represents the descriptive (alternative) text string for the specified table.
Exceptions
Exception | Condition |
---|---|
MissingMemberException | This property is used in an Excel 2007 project. |
Remarks
The value of the AlternativeText property corresponds to the setting of the Title box in the Alternative Text dialog box, which is displayed by right-clicking a table, pointing to Table, and then clicking Alternative Text.
Note
This property appears in IntelliSense in Excel 2007 projects that target the .NET Framework 4. However, this property cannot be used in Excel 2007 projects.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.