_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)
Usage
Dim _Application1 As _Application
Dim key As Object
Dim returnValue As Boolean
returnValue = _Application1.IsObjectValid(key)
Syntax
ReadOnly Property IsObjectValid( _
<InAttribute()> ByVal Object As Object _
) As Boolean
bool this[
[In] object Object
] {get;}
property Boolean IsObjectValid{
Boolean get();
}
public boolean get_Item(
/*in*/System.Object Object
);
In JScript, you can use Indexed Properties defined by a class, but you cannot define your own.
Parameters
- Object
Required Object. A variable that references an object.
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.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000
Target Platforms
See Also
Reference
_Application Interface
Microsoft.Office.Interop.Word Namespace