共用方式為


SPFile.Title property

取得檔案的顯示名稱。

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

Syntax

'宣告
Public ReadOnly Property Title As String
    Get
'用途
Dim instance As SPFile
Dim value As String

value = instance.Title
public string Title { get; }

Property value

Type: System.String
字串,包含名稱。

請參閱

參照

SPFile class

SPFile members

Microsoft.SharePoint namespace