ClassNotesExist property (WinStudio scripts)
Applies To
IWSIDOCollection interface
Definition
Sets or returns a Boolean value that indicates whether a specified collection has class notes attached to it.
Set Syntax
object.ClassNotesExist = Boolean
| Part | Description | 
| object | Required. A reference to a valid IDO collection object. | 
| Boolean | Required. Sets
					 the display for this property to 
					 True or 
					 False. 
 Note: Care should be used when employing this syntax because
						this syntax sets only the display value of the Notes for All menu item on the
						Actions menu. If class notes do exist and this display property is set to
						False, the class notes are not disattached. Therefore, the Notes for All menu
						item, in this case, indicates that no class notes exist when, in fact, they do
						and they can still be accesssed from that menu item.
					  | 
Get Syntax
object.ClassNotesExist
| Part | Description | 
| object | Required. A reference to a valid IDO collection object. | 
Remarks
You cannot use the set syntax for this property to actually attach or unattach class notes.
A return value of:
- TRUE indicates that there is at least one class note attached to the collection.
- FALSE indicates that there are no class notes attached to the collection.
Example
Sub Main()
   Application.ShowMessage(ThisForm.PrimaryIDOCollection.ClassNotesExist.ToString())
End Sub