共用方式為


SPCalendarViewStyle.ImageName property

取得或設定與行事曆使用者介面中的一天一週檢視連結相關聯之圖像的檔案名稱。

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

Syntax

'宣告
Public Property ImageName As String
    Get
    Set
'用途
Dim instance As SPCalendarViewStyle
Dim value As String

value = instance.ImageName

instance.ImageName = value
public string ImageName { get; set; }

Property value

Type: System.String
包含圖像檔案名稱的字串。預設值為day.gif、 week.gif及month.gif。

請參閱

參照

SPCalendarViewStyle class

SPCalendarViewStyle members

Microsoft.SharePoint namespace