WinStudio
Returns a Boolean value indicating whether the value of an object is empty (null). Read-only.
object.IsNull
Part |
Description |
| object | Required. A reference to a valid object. |
A return value of:
Sub Main()
If ThisForm.Components("StringTableNameGridCol").IsNull Then
Application.ShowMessage("The field is empty!")
Else
Application.ShowMessage("The value of the field is:" & vbLf & _
vbLf & ThisForm.Components("StringTableNameGridCol").Value)
End If
End Sub
Sub Main()
Dim parameters() As IWSIDOProperty
Dim myString As String
If parameters(0).IsNull Then
Throw New Exception("A value must be passed for the first parameter!")
Else
myString = parameters(0).GetValueOfString()
End If
End Sub