Share via


ActivityTemplateVariable.DateOnly property

Gets or sets the DateTime object representing the publication date of a feed represented as a year, month, and day only.

Namespace:  Microsoft.Office.Server.ActivityFeed
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

Syntax

'Declaration
Public Property DateOnly As DateTime
    Get
    Set
'Usage
Dim instance As ActivityTemplateVariable
Dim value As DateTime

value = instance.DateOnly

instance.DateOnly = value
public DateTime DateOnly { get; set; }

Property value

Type: System.DateTime

See also

Reference

ActivityTemplateVariable class

ActivityTemplateVariable members

Microsoft.Office.Server.ActivityFeed namespace