次の方法で共有


_ContactItem.Department Property

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

value = instance.Department

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

Property Value

Type: System.String

See Also

Reference

_ContactItem Interface

_ContactItem Members

Microsoft.Office.Interop.Outlook Namespace

Other Resources

How to: Create a Contact Item