DistListItem オブジェクト (Outlook)

連絡先フォルダー内の配布リストを表します。

注釈

配布リストには複数の受信者を追加できます。配布リストは、リストに追加したすべての受信者にメッセージを送信する場合に使用します。

CreateItem メソッドを使用して、新しい配布リストを表す DistListItem オブジェクトを作成します。

連絡先フォルダー (つまり、既定のアイテムの種類が olContactItem のフォルダー) から 1 つの DistListItem オブジェクトを取得するには、Items (index) を使用します。ここで、index は連絡先フォルダー内のアイテムのインデックス番号、またはフォルダー内のアイテムの既定のプロパティと一致するために使用される値です。

次の Microsoft Visual Basic for Applications (VBA) の例は、新しい配布リストを作成して表示します。

Set myItem = Application.CreateItem(olDistributionListItem) 
 
myItem.Display

次の VBA の例は現在のフォルダーを連絡先フォルダーとして設定し、フォルダー内の "Project Team" という名前の既存の配布リストを表示します。

Set myNamespace = Application.GetNamespace("MAPI") 
 
Set myFolder = myNamespace.GetDefaultFolder(olFolderContacts) 
 
myFolder.Display 
 
Set myItem = myFolder.Items("Project Team") 
 
myItem.Display

イベント

名前
AfterWrite
AttachmentAdd
AttachmentRead
AttachmentRemove
BeforeAttachmentAdd
BeforeAttachmentPreview
BeforeAttachmentRead
BeforeAttachmentSave
BeforeAttachmentWriteToTempFile
BeforeAutoSave
BeforeCheckNames
BeforeDelete
BeforeRead
Close
CustomAction
CustomPropertyChange
Forward
Open
PropertyChange
読み取り
ReadComplete
Reply
ReplyAll
Send
Unload
Write

メソッド

名前
AddMember
AddMembers
ClearTaskFlag
Close
Copy
Delete
Display
GetConversation
GetMember
MarkAsTask
Move
PrintOut
RemoveMember
RemoveMembers
Save
SaveAs
ShowCategoriesDialog

プロパティ

Name
Actions
アプリケーション
添付ファイル
AutoResolvedWinner
BillingInformation
Body
Categories
クラス
Companies
Conflicts
ConversationID
ConversationIndex
ConversationTopic
CreationTime
DLName
DownloadState
EntryID
FormDescription
GetInspector
Importance
IsConflict
IsMarkedAsTask
ItemProperties
LastModificationTime
MarkForDownload
MemberCount
MessageClass
Mileage
NoAging
OutlookInternalVersion
OutlookVersion
Parent
PropertyAccessor
ReminderOverrideDefault
ReminderPlaySound
ReminderSet
ReminderSoundFile
ReminderTime
RTFBody
Saved
Sensitivity
Session
Size
件名
TaskCompletedDate
TaskDueDate
TaskStartDate
TaskSubject
ToDoTaskOrdinal
UnRead
UserProperties

関連項目

Outlook オブジェクト モデル リファレンス

サポートとフィードバック

Office VBA またはこの説明書に関するご質問やフィードバックがありますか? サポートの受け方およびフィードバックをお寄せいただく方法のガイダンスについては、Office VBA のサポートおよびフィードバックを参照してください。