获取一个指示创建该文件时的日期和时间值。
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public ReadOnly Property TimeCreated As DateTime
Get
用法
Dim instance As SPFile
Dim value As DateTime
value = instance.TimeCreated
public DateTime TimeCreated { get; }
属性值
类型:System.DateTime
System.DateTime对象,该对象指定在创建该文件以协调通用时间 (UTC)。
备注
有关如何转换日期和时间值的信息,请参阅Converting Date and Time Values。