IsValid method

The IsValid method confirms that the interface of a DCO object is valid and is connected to an actual object.

Syntax

VBScript
oDCO.IsValid as Boolean
C#
bool IsValid()

Arguments

None.

Returns

Returns true if the interface is valid; returns false if the interface is invalid.

Applies to

Field objects only.

C# example

The following call returns False:
TDCOLib.IDCO m_oNullDCOObject = new TDCOLib.DCOClass();
bResult = m_oNullDCOObject.IsValid();