読み書き可能。readRange 操作のオプションのプロパティ表示を制御するマスク。
取得する場合: mask& = notesCalendar.ReadRangeMask2
設定する場合: notesCalendar.ReadRangeMask2 = mask&
定数名 | 数値 |
---|---|
CS_READ_RANGE_MASK_HASATTACH | 1 |
CS_READ_RANGE_MASK_UNID | 2 |
Sub Initialize
Dim session As New NotesSession
Dim maildb As New NotesDatabase("", "")
Dim cal As NotesCalendar
Dim dt1 As NotesDateTime
Dim dt2 As NotesDateTime
Dim calstr As String
Dim db As NotesDatabase
Dim doc As NotesDocument
Dim body As NotesRichTextItem
REM Get calendar for current user
Call maildb.Openmail()
Set cal = session.getCalendar(maildb)
Set dt1 = session.createdatetime("Today 08")
Set dt2 = session.Createdatetime("Tomorrow 17")
REM Create document to post results
Set db = session.CurrentDatabase
Set doc = db.CreateDocument
doc.Form = "main"
doc.Subject = "Today and tomorrow"
Set body = doc.Createrichtextitem("body")
REM Read and put in body of document
cal.Readrangemask2 = Cs_read_range_mask_hasattach + Cs_read_range_mask_unid
calstr = cal.Readrange(dt1, dt2)
Call body.Appendtext(calstr)
Call doc.Save( True, True )
End Sub
Java™ NotesCalendar クラスの ReadRangeMask2 プロパティ