XMLNode.Application Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets an Application that represents the creator of the XMLNode control.
public:
property Microsoft::Office::Interop::Word::Application ^ Application { Microsoft::Office::Interop::Word::Application ^ get(); };
public Microsoft.Office.Interop.Word.Application Application { get; }
member this.Application : Microsoft.Office.Interop.Word.Application
Public ReadOnly Property Application As Application
Property Value
An Application that represents the creator of the XMLNode control.
Examples
The following code example uses the Application property to minimize the active application window. This example assumes that the current document contains an XMLNode named CustomerLastNameNode
.
private void MinimizeWindow()
{
Word.Application application1 =
this.CustomerLastNameNode.Application;
application1.ActiveWindow.WindowState =
Word.WdWindowState.wdWindowStateMinimize;
}
Private Sub MinimizeWindow()
Dim application1 As Word.Application = _
Me.CustomerLastNameNode.Application
application1.ActiveWindow.WindowState = _
Word.WdWindowState.wdWindowStateMinimize
End Sub