BasicProperties.ItemDate Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the most relevant date for the item.
public:
property DateTime ItemDate { DateTime get(); };
DateTime ItemDate();
public System.DateTimeOffset ItemDate { get; }
var dateTime = basicProperties.itemDate;
Public ReadOnly Property ItemDate As DateTimeOffset
Property Value
The item's date.
The system determines the most relevant date based on the type of the item. For example, if the item is a photo the date in System.Photo.DateTaken is returned. Or if the item is a song the date in System.Media.DateReleased is returned.
Remarks
This property lets you get the most relevant date for an item without the need to access item-specific properties.
Applies to
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro