获取一个短日期值,该值与"d"格式字符格式模式。
命名空间: Microsoft.SharePoint.Utilities
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public ReadOnly Property ShortDatePattern As String
Get
用法
Dim instance As DateOptions
Dim value As String
value = instance.ShortDatePattern
public string ShortDatePattern { get; }
属性值
类型:System.String
请参阅DateTimeFormatInfo可以组合构造自定义模式 ; 的模式例如,"MM/dd/yyyy"。