_ExchangeUser.LastName Property

Returns a String (string in C#) representing the last name of the ExchangeUser. Read/write.

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

Syntax

'Declaration
<DispIdAttribute()> _
Property LastName As String
    Get
    Set
'Usage
Dim instance As _ExchangeUser
Dim value As String

value = instance.LastName

instance.LastName = value
[DispIdAttribute()]
string LastName { get; set; }

Property Value

Type: System.String

Remarks

This property corresponds to MAPI property, PidTagSurname.

Returns an empty string if this property has not been implemented or does not exist for the ExchangeUser object.

See Also

Reference

_ExchangeUser Interface

_ExchangeUser Members

Microsoft.Office.Interop.Outlook Namespace