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


SocialFeedItem.Timestamp Свойство

Определение

Возвращает или задает метку времени для этого элемента.

public:
 property DateTime Timestamp { DateTime get(); void set(DateTime value); };
DateTime Timestamp();

void Timestamp(DateTime value);
/// [get: Windows.Foundation.Metadata.Deprecated("ISocialFeedItem is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 131072, "Windows.ApplicationModel.SocialInfo.SocialInfoContract")]
/// [set: Windows.Foundation.Metadata.Deprecated("ISocialFeedItem is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 131072, "Windows.ApplicationModel.SocialInfo.SocialInfoContract")]
DateTime Timestamp();

void Timestamp(DateTime value);
public System.DateTimeOffset Timestamp { get; set; }
public System.DateTimeOffset Timestamp { [Windows.Foundation.Metadata.Deprecated("ISocialFeedItem is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 131072, "Windows.ApplicationModel.SocialInfo.SocialInfoContract")] get; [Windows.Foundation.Metadata.Deprecated("ISocialFeedItem is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 131072, "Windows.ApplicationModel.SocialInfo.SocialInfoContract")] set; }
var dateTime = socialFeedItem.timestamp;
socialFeedItem.timestamp = dateTime;
Public Property Timestamp As DateTimeOffset

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

Метка времени для этого элемента.

Атрибуты

Применяется к