次の方法で共有


_ExchangeUser.GetExchangeDistributionList Method

Returns Nothing (a null reference (Nothing in Visual Basic) in C#) because the ExchangeUser object does not correspond to an ExchangeDistributionList object.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
<DispIdAttribute()> _
Function GetExchangeDistributionList As ExchangeDistributionList
'Usage
Dim instance As _ExchangeUser
Dim returnValue As ExchangeDistributionList

returnValue = instance.GetExchangeDistributionList()
[DispIdAttribute()]
ExchangeDistributionList GetExchangeDistributionList()

Return Value

Type: Microsoft.Office.Interop.Outlook.ExchangeDistributionList
Nothing (a null reference (Nothing in Visual Basic) in C#) because the ExchangeUser object does not correspond to an ExchangeDistributionList object.

Remarks

The ExchangeUser object is derived from the AddressEntry object. It inherits the GetExchangeDistributionList method from the AddressEntry object, and in the case of ExchangeUser, this method always returns Nothing.

See Also

Reference

_ExchangeUser Interface

_ExchangeUser Members

Microsoft.Office.Interop.Outlook Namespace