Sdílet prostřednictvím


DocumentProperties.Author Property

Definition

Gets the collection of the document's authors.

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)

Property Value

IVector<String>

IList<String>

IVector<Platform::String>

IVector<winrt::hstring>

The name of the document author.

Remarks

This property is read-only. It returns a collection, and you can't delete or replace the collection itself. The contents of the collection, however, are not read-only. You can add items to the collection, remove items from the collection, and change existing items in the collection. Call the SavePropertiesAsync method of the parent class to save the updated contents of the collection.

Applies to