共用方式為


SPFile.IconUrl property

取得要與檔案相關聯的圖示的 URL。

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

Syntax

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

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

Property value

Type: System.String
字串,包含 URL。

請參閱

參照

SPFile class

SPFile members

Microsoft.SharePoint namespace