Share via


SocialFeedSharedItem.Timestamp Property

Definition

Gets or sets the timestamp for this shared item.

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

void Timestamp(DateTime value);
/// [get: Windows.Foundation.Metadata.Deprecated("ISocialFeedSharedItem 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("ISocialFeedSharedItem 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("ISocialFeedSharedItem 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("ISocialFeedSharedItem 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 = socialFeedSharedItem.timestamp;
socialFeedSharedItem.timestamp = dateTime;
Public Property Timestamp As DateTimeOffset

Property Value

The timestamp for this shared item.

Attributes

Applies to