Freigeben über


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

See Also

Reference

XmlMappedRange Interface

Microsoft.Office.Tools.Excel Namespace