更新:2007 年 11 月
获取或设置在 DatePickerContentControl 中显示的日历的类型。
命名空间: Microsoft.Office.Tools.Word
程序集: Microsoft.Office.Tools.Word.v9.0(在 Microsoft.Office.Tools.Word.v9.0.dll 中)
语法
声明
<BrowsableAttribute(False)> _
Public Property DateCalendarType As WdCalendarType
用法
Dim instance As DatePickerContentControl
Dim value As WdCalendarType
value = instance.DateCalendarType
instance.DateCalendarType = value
[BrowsableAttribute(false)]
public WdCalendarType DateCalendarType { get; set; }
属性值
类型:Microsoft.Office.Interop.Word.WdCalendarType
WdCalendarType 值之一。默认值取决于操作系统的当前区域设置。
备注
默认的日历类型取决于操作系统的区域设置。例如,区域设置“英语(美国)”的默认日历类型为 wdCalendarWestern。
权限
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。