SocialFeedChildItem.Timestamp 属性

定义

获取或设置子项的时间戳。

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

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

属性值

子项的时间戳。

属性

适用于