代表一天、 周或月视图样式的日历。
继承层次结构
System.Object
Microsoft.SharePoint.SPCalendarViewStyle
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public NotInheritable Class SPCalendarViewStyle _
Implements IComparable(Of SPCalendarViewStyle)
用法
Dim instance As SPCalendarViewStyle
public sealed class SPCalendarViewStyle : IComparable<SPCalendarViewStyle>
备注
通过Microsoft.SharePoint.WebControls.SPCalendarView控件显示的日历视图样式。
使用SPCalendarViewStyleCollection构造函数返回与指定网站中使用的指定的列表视图相关联的日历视图样式的集合。
使用索引器从集合中返回单个日历视图样式。例如,如果集合已分配给名为 myCalendarViewStyles 的变量,则可使用 myCalendarViewStyles [index] 用 C# 或 myCalendarViewStyles (index) 在 Visual Basic 中,其中index是集合中的日历视图样式的索引号或日历视图样式模板的名称。
线程安全性
该类型的任何公共 静态 (已共享 在 Visual Basic 中) 成员都是线程安全的。不保证任何实例成员都是线程安全的。