Window.WindowNumber Property

Returns the window number of the document displayed in the specified window. For example, if the caption of the window is "Sales.doc:2", this property returns the number 2.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
ReadOnly Property WindowNumber As Integer
    Get
'Usage
Dim instance As Window
Dim value As Integer

value = instance.WindowNumber
int WindowNumber { get; }

Property Value

Type: System.Int32

Remarks

Use the Index property to return the number of the specified window in the Windows collection.

See Also

Reference

Window Interface

Window Members

Microsoft.Office.Interop.Word Namespace