XmlMappedRange.Application Property
Gets a Microsoft.Office.Interop.Excel.Application that represents the Microsoft Office Excel application.
Namespace: Microsoft.Office.Tools.Excel
Assembly: Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
Syntax
'Declaration
ReadOnly Property Application As Application
Application Application { get; }
Property Value
Type: Microsoft.Office.Interop.Excel.Application
An Microsoft.Office.Interop.Excel.Application that represents the Excel application.
Examples
The following code example uses the Application property to tile all open application windows. This code example assumes that the current worksheet contains an XmlMappedRange named CustomerLastNameCell.
Private Sub TileApplicationWindows()
Dim application1 As Excel.Application = _
Me.CustomerLastNameCell.Application
application1.Windows.Arrange( _
Excel.XlArrangeStyle.xlArrangeStyleTiled)
End Sub
private void TileApplicationWindows()
{
Excel.Application application1 = this.CustomerLastNameCell.Application;
application1.Windows.Arrange(Excel.XlArrangeStyle.xlArrangeStyleTiled);
}
.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.