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


Свойство File.Author

Gets a value that specifies the user who added the file.

Пространство имен:  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 Author As User
    Get
'Применение
Dim instance As File
Dim value As User

value = instance.Author
public User Author { get; }

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

Тип: Microsoft.SharePoint.Client.User
Returns a User instance representing the user who added the file.

Исключения

Исключение Условие
[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