Previous Topic: Execute Method

Next Topic: CaWRemoveItem


IsValid Method

Checks if the object is a valid object.

Syntax

object.IsValid()

Owning Class

CaWPromote

Arguments

None

Return Value

A boolean - True if the object is a valid object otherwise False.

Example

Dim objPromote
Set objPromote = objContext.GetPromote()
If objPromote.IsValid() <> 0 Then
msgbox “This is a valid object”, vbOKonly, “Test Promote”
End If