Share via


MAPIFolder.Name Property

Returns or sets a String (string in C#) value that represents the display name for the object. Read/write.

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

Syntax

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

value = instance.Name

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

Property Value

Type: System.String

See Also

Reference

MAPIFolder Interface

MAPIFolder Members

Microsoft.Office.Interop.Outlook Namespace

Other Resources

How to: Select a Folder and Display Folder Information