DateTimeControl.Calendar 属性

获取或设置控件的日历类型。

命名空间:  Microsoft.SharePoint.WebControls
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
<BindableAttribute(True)> _
Public Property Calendar As SPCalendarType
    Get
    Set
用法
Dim instance As DateTimeControl
Dim value As SPCalendarType

value = instance.Calendar

instance.Calendar = value
[BindableAttribute(true)]
public SPCalendarType Calendar { get; set; }

属性值

类型:Microsoft.SharePoint.SPCalendarType
SPCalendarType 对象,它指示控件使用的日历类型。

另请参阅

引用

DateTimeControl 类

DateTimeControl 成员

Microsoft.SharePoint.WebControls 命名空间