Share via


DocumentProperties.Author 属性

定义

获取文档作者的集合。

public:
 property IVector<Platform::String ^> ^ Author { IVector<Platform::String ^> ^ get(); };
IVector<winrt::hstring> Author();
public IList<string> Author { get; }
var iVector = documentProperties.author;
Public ReadOnly Property Author As IList(Of String)

属性值

IVector<String>

IList<String>

IVector<Platform::String>

IVector<winrt::hstring>

文档作者的名称。

注解

此属性为只读。 它返回一个集合,你无法删除或替换集合本身。 但是,集合的内容不是只读的。 可以向集合中添加项、从集合中删除项,以及更改集合中的现有项。 调用父类的 SavePropertiesAsync 方法以保存集合的更新内容。

适用于