共用方式為


SimpleTemplateFormat Class

Supports an array of tags one level deep (no tags within tags).

Inheritance Hierarchy

System.Object
  Microsoft.Office.Server.ActivityFeed.SimpleTemplateFormat

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

Syntax

'Declaration
Public Class SimpleTemplateFormat
'Usage
Dim instance As SimpleTemplateFormat
public class SimpleTemplateFormat

Remarks

Each tag is identified by the contents within a pair of braces ({}). These braces cannot be escaped and therefore cannot be in string literals. Each tag can be substituted with a value from the TemplateVariable property of an ActivityEvent object by a feed generator. Tags that are not understood by a generator can be passed on to another generator in a pipeline until there are no tags remain to be substituted. A list tag is supported, but the contents of a list must be of the same type in a TemplateVariable.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

SimpleTemplateFormat Members

Microsoft.Office.Server.ActivityFeed Namespace