次の方法で共有


Attachment.DisplayName Property

Returns or sets a String (string in C#) representing the name, which does not need to be the actual file name, displayed below the icon representing the embedded attachment. Read/write.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
<DispIdAttribute()> _
Property DisplayName As String
    Get
    Set
'Usage
Dim instance As Attachment
Dim value As String

value = instance.DisplayName

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

Property Value

Type: System.String

Remarks

This property corresponds to the MAPI property PidTagDisplayName.

See Also

Reference

Attachment Interface

Attachment Members

Microsoft.Office.Interop.Outlook Namespace