Partager via


_ContactItem.CompanyMainTelephoneNumber Property

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

value = instance.CompanyMainTelephoneNumber

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

Property Value

Type: System.String

See Also

Reference

_ContactItem Interface

_ContactItem Members

Microsoft.Office.Interop.Outlook Namespace