Partager via


_ContactItem.HomeAddressCity Property

Returns or sets a String (string in C#) representing the city portion of the home address 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 HomeAddressCity As String
    Get
    Set
'Usage
Dim instance As _ContactItem
Dim value As String

value = instance.HomeAddressCity

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

Property Value

Type: System.String

Remarks

This property is parsed from the HomeAddress 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 or entries to HomeAddress.

See Also

Reference

_ContactItem Interface

_ContactItem Members

Microsoft.Office.Interop.Outlook Namespace