XmlMappedRange.Application Property (2007 System)
Gets a Application that represents the Microsoft Office Excel application.
Namespace: Microsoft.Office.Tools.Excel
Assembly: Microsoft.Office.Tools.Excel.v9.0 (in Microsoft.Office.Tools.Excel.v9.0.dll)
Syntax
'Declaration
<BrowsableAttribute(False)> _
Public ReadOnly Property Application As Application
'Usage
Dim instance As XmlMappedRange
Dim value As Application
value = instance.Application
[BrowsableAttribute(false)]
public Application Application { get; }
[BrowsableAttribute(false)]
public:
property Application^ Application {
Application^ get ();
}
public function get Application () : Application
Property Value
Type: Application
An 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,
missing, missing, missing);
}
.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.