次の方法で共有


_ContactItem.User4 Property

Returns or sets a String (string in C#) specifying the fourth field on the Contacts form intended for miscellaneous use 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 User4 As String
    Get
    Set
'Usage
Dim instance As _ContactItem
Dim value As String

value = instance.User4

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

Property Value

Type: System.String

Remarks

The properties _ContactItem.User1, _ContactItem.User2, _ContactItem.User3, and ContactItem.User4 map to the fields User Field 1, User Field 2, User Field 3, and User Field 4 on the Contacts form respectively. These properties are explicit built-in String (string in C#) properties; users can use these fields for miscellaneous purposes for the contact.

See Also

Reference

_ContactItem Interface

_ContactItem Members

Microsoft.Office.Interop.Outlook Namespace