This documentation is archived and is not being maintained.

SPFile.Name Property

Windows SharePoint Services 3

Gets the name of the file including the extension.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public string Name { get; }

Property Value

Type: System.String
A string that contains the file name including the extension.
Show: