Partager via


_ContactItem.Gender Property

Returns or sets an OlGender constant indicating the gender of the contact. Read/write.

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

Syntax

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

value = instance.Gender

instance.Gender = value
[DispIdAttribute()]
OlGender Gender { get; set; }

Property Value

Type: Microsoft.Office.Interop.Outlook.OlGender

See Also

Reference

_ContactItem Interface

_ContactItem Members

Microsoft.Office.Interop.Outlook Namespace