Share via


_ExchangeDistributionList.GetExchangeUser Method

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

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

Syntax

'Declaration
<DispIdAttribute()> _
Function GetExchangeUser As ExchangeUser
'Usage
Dim instance As _ExchangeDistributionList
Dim returnValue As ExchangeUser

returnValue = instance.GetExchangeUser()
[DispIdAttribute()]
ExchangeUser GetExchangeUser()

Return Value

Type: Microsoft.Office.Interop.Outlook.ExchangeUser
Null (Nothing in Visual Basic) because the ExchangeDistributionList object does not correspond to an ExchangeUser object.

Remarks

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

See Also

Reference

_ExchangeDistributionList Interface

_ExchangeDistributionList Members

Microsoft.Office.Interop.Outlook Namespace