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. |