Поделиться через


Свойство File.TimeCreated

Gets a value that specifies when the file was created.

Пространство имен:  Microsoft.SharePoint.Client
Сборки:   Microsoft.SharePoint.Client.Silverlight (в Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client.Phone (в Microsoft.SharePoint.Client.Phone.dll)  Microsoft.SharePoint.Client (в Microsoft.SharePoint.Client.dll)

Синтаксис

'Декларация
Public ReadOnly Property TimeCreated As DateTime
    Get
'Применение
Dim instance As File
Dim value As DateTime

value = instance.TimeCreated
public DateTime TimeCreated { get; }

Значение свойства

Тип: System.DateTime
Returns a DateTime instance representing when the file was created.

Исключения

Исключение Условие
[System.IO.FileNotFoundException]

File cannot be found. Error code: -2147024894.

[System.UnauthorizedAccessException]

The current user has insufficient permissions. Error code: -2147024891.

См. также

Справочные материалы

File класс

Элементы File

Пространство имен Microsoft.SharePoint.Client