_Application.IsObjectValid Property

Determines if the specified variable that references an object is valid.

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

Syntax

'Declaration
ReadOnly Property IsObjectValid ( _
    Object As Object _
) As Boolean
    Get
'Usage
Dim instance As _Application
Dim Object As Object
Dim value As Boolean

value = instance.IsObjectValid(Object)
bool this[
    Object Object
] { get; }

Parameters

  • Object
    Type: System.Object
    Required Object. A variable that references an object.

Property Value

Type: System.Boolean

Remarks

This property returns True if the specified variable that references an object is valid; False if the object referenced by the variable has been deleted.

See Also

Reference

_Application Interface

_Application Members

Microsoft.Office.Interop.Word Namespace