ActivityTemplateVariable ActivityTemplateVariable ActivityTemplateVariable Class

Definition

This object, member, or enumeration is deprecated and is not intended to be used in your code. SharePoint 2013 includes the following APIs for working with feeds: .NET client, JavaScript, REST, and server. See Work with social feeds in SharePoint 2013 to choose the API for your specific feed-related programming tasks. Defines formatting for ActivityEvent objects, the structure that contains the standard vocabulary for mapping activity events to syndication feeds.

public ref class ActivityTemplateVariable
public class ActivityTemplateVariable
Public Class ActivityTemplateVariable
Inheritance
ActivityTemplateVariableActivityTemplateVariableActivityTemplateVariable

Remarks

This object is used by the feed-generating methods (such as GetActivityEventsByMe) in ActivityManager. It should contain data for all the tags in the templates for the ActivityType to which this ActivityEvent belongs. Otherwise, those tags will be ignored. Any data in the ActivityTemplateVariable that is not used by any template tag will also be ignored.

This object helps support the SyndicationFeed object model.

Properties

DateOnly DateOnly DateOnly

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

DateOnlySpecified DateOnlySpecified DateOnlySpecified

Gets or sets a value indicating whether the DateOnly field of the feed is to be specified.

Link Link Link

Gets or sets a Link object that represents an item in a feed.

Link2 Link2 Link2

Gets or sets a Link object that represents an additional link for an item in a feed.

List List List

Gets or sets a value that represents a variable-length multivalued collection of items.

Name Name Name

Gets or sets a value representing a name for a feed.

Owner Owner Owner

Gets or sets a value representing the entity that owns a feed.

PublishDate PublishDate PublishDate

Gets or sets a DateTime object representing the publication date for a feed.

Publisher Publisher Publisher

Gets or sets a value representing the entity that publishes the feed.

Value Value Value

Gets or sets a string value representing an ActivityEvent.

Methods

DateOnlyToString(String, ActivityTemplateVariable, ContentType, CultureInfo) DateOnlyToString(String, ActivityTemplateVariable, ContentType, CultureInfo) DateOnlyToString(String, ActivityTemplateVariable, ContentType, CultureInfo)

Static method that converts the DateOnly property of the specified ActivityTemplateVariable into a string.

Link2ToString(String, ActivityTemplateVariable, ContentType, CultureInfo) Link2ToString(String, ActivityTemplateVariable, ContentType, CultureInfo) Link2ToString(String, ActivityTemplateVariable, ContentType, CultureInfo)

Static method that converts the Link2 property of the specified ActivityTemplateVariable into a string.

LinkToString(String, ActivityTemplateVariable, ContentType, CultureInfo) LinkToString(String, ActivityTemplateVariable, ContentType, CultureInfo) LinkToString(String, ActivityTemplateVariable, ContentType, CultureInfo)

Static method that converts the Link property of the specified ActivityTemplateVariable into a string.

ListToString(String, ActivityTemplateVariable, ContentType, CultureInfo) ListToString(String, ActivityTemplateVariable, ContentType, CultureInfo) ListToString(String, ActivityTemplateVariable, ContentType, CultureInfo)

Static method that converts the List property of the specified ActivityTemplateVariable into a string.

NameToString(String, ActivityTemplateVariable, ContentType, CultureInfo) NameToString(String, ActivityTemplateVariable, ContentType, CultureInfo) NameToString(String, ActivityTemplateVariable, ContentType, CultureInfo)

Static method that converts the Name property of the specified ActivityTemplateVariable into a string.

OwnerToString(String, ActivityTemplateVariable, ContentType, CultureInfo) OwnerToString(String, ActivityTemplateVariable, ContentType, CultureInfo) OwnerToString(String, ActivityTemplateVariable, ContentType, CultureInfo)

Static method that converts the Owner property of the specified ActivityTemplateVariable into a string.

PublishDateToString(String, ActivityTemplateVariable, ContentType, CultureInfo) PublishDateToString(String, ActivityTemplateVariable, ContentType, CultureInfo) PublishDateToString(String, ActivityTemplateVariable, ContentType, CultureInfo)

Static method that converts the PublishDate property of the specified ActivityTemplateVariable into a string.

PublisherToString(String, ActivityTemplateVariable, ContentType, CultureInfo) PublisherToString(String, ActivityTemplateVariable, ContentType, CultureInfo) PublisherToString(String, ActivityTemplateVariable, ContentType, CultureInfo)

Static method that converts the Publisher property of the specified ActivityTemplateVariable into a string.

SizeToString(String, ActivityTemplateVariable, ContentType, CultureInfo) SizeToString(String, ActivityTemplateVariable, ContentType, CultureInfo) SizeToString(String, ActivityTemplateVariable, ContentType, CultureInfo)

Static method that converts the size of the list stored in the List property of the specified ActivityTemplateVariable into a string.

ValueToString(String, ActivityTemplateVariable, ContentType, CultureInfo) ValueToString(String, ActivityTemplateVariable, ContentType, CultureInfo) ValueToString(String, ActivityTemplateVariable, ContentType, CultureInfo)

Static method that converts the Value property of the specified ActivityTemplateVariable into a string.

Extension Methods

ToJson(Object) ToJson(Object) ToJson(Object)

Applies to