Share via


SocialFeedItem.Timestamp Property

Definition

Gets or sets the timestamp for this item.

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

Property Value

The timestamp for this item.

Attributes

Applies to