Share via


WebFolder.Name Property

SharePoint Designer Developer Reference

Returns a String that represents the name of a folder in a Web site.

Syntax

expression.Name

expression   Required. A variable that represents a WebFolder object.

Remarks

The name of a folder is the file path to a specific folder in a Web site. For example, for the URL "C:\My Web Sites\Adventure Works\index.htm", the value of the Name property for the file is "index.htm". Similarly, "Images" is the value of the Name property for the folder in the URL "C:\My Web Sites\Adventure Works\Images".

See Also