次の方法で共有


_ContactItem.CompanyName Property

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

value = instance.CompanyName

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

How to: Use SetColumns to Efficiently Enumerate Items in a Folder