Name Property (Folder Object)

Name Property (Folder Object)

The Name property returns or sets the name of the Folder object as a string. Read/write.

Syntax

objFolder.Name

Data Type

String

Remarks

The Name property corresponds to the MAPI property PR_DISPLAY_NAME. It can be rendered into HTML hypertext using the CDO Rendering ObjectRenderer object. To specify this, set the object renderer's DataSource property to this Folder object and the property parameter of the RenderProperty method to CdoPR_DISPLAY_NAME.

Example

Dim objFolder As Object ' assume valid folder
MsgBox "Folder name = " & objFolder.Name
 

See Also

Concepts

Folder Object