WinStudio

ClassNotesExist Property

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.
  • True sets the display property to indicate that class notes exist for this collection.
  • False sets the display property to indicate that no class notes exist for this collection.

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 (see Note under Set Syntax).

A return value of:

For more information about class notes, see one of these topics:

Example

Sub Main()
   Application.ShowMessage(ThisForm.PrimaryIDOCollection.ClassNotesExist.ToString())
End Sub