IsPropertyProtected method (WinStudio scripts)
Applies To
IWSIDOCollection interface
Definition
Returns a Boolean value indicating whether an object property is read-only or is used in the LINKBY keyword in WinStudio.
Syntax
object.IsPropertyProtected( string )
Part | Description |
object | Required. A reference to a valid IDO collection object. |
string | Required. The name of the object property. |
Remarks
A return value of:
- TRUE indicates that the object property is either read-only or is used in the LINKBY keyword in WinStudio.
- FALSE indicates that the object property is neither read-only nor used in the LINKBY keyword in WinStudio.
Example
Sub Main() Dim bIsProtected As Boolean If ThisForm.PrimaryIDOCollection.IsPropertyProtected("AccountNo") Then bIsProtected = True End If End Sub