共用方式為


SPFile.Title Property

Gets the display name of the file.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<ClientCallableAttribute> _
Public ReadOnly Property Title As String
    Get
'Usage
Dim instance As SPFile
Dim value As String

value = instance.Title
[ClientCallableAttribute]
public string Title { get; }

Property Value

Type: System.String
A string that contains the name.

See Also

Reference

SPFile Class

SPFile Members

Microsoft.SharePoint Namespace