Partager via


_ContactItem.MiddleName Property

Returns or sets a String (string in C#) representing the middle name for the contact. Read/write.

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

Syntax

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

value = instance.MiddleName

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

Property Value

Type: System.String

Remarks

This property is parsed from the FullName property, but may be changed or entered independently should it be parsed incorrectly. Note that any such changes or entries to this property will be overwritten by any subsequent changes of entries to FullName.

See Also

Reference

_ContactItem Interface

_ContactItem Members

Microsoft.Office.Interop.Outlook Namespace