_ContactItem.FirstName Property

Returns or sets a String (string in C#) representing the first 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 FirstName As String
    Get
    Set
'Usage
Dim instance As _ContactItem
Dim value As String

value = instance.FirstName

instance.FirstName = value
[DispIdAttribute()]
string FirstName { 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

Other Resources

How to: Create a Contact Item

How to: Create a Custom Contact Item