ClassName Element for ContentFormatter (ADF)

更新日期: 2006 年 4 月 14 日

Specifies the class name of the class that provides the content formatter functionality.

语法

<NotificationClasses>
    <NotificationClass>
        ...
        <ContentFormatter>
            <ClassName>

Element Characteristics

Characteristic Description

Data type

string, between 1 and 512 characters in length.

Default value

None.

Occurrence

Required once per ContentFormatter node.

Updates

Can be modified, but not added or deleted, when updating the application.

Element Relationships

Relationship Elements

Parent element

ContentFormatter Element (ADF)

Child elements

None.

备注

Fully specify the class name. If the class is in a namespace, include the namespace.

If you are using the built-in XSLT content formatter, the class name must be XsltFormatter. For more information, see 定义 XSLT 内容格式化程序.

For more information about class naming guidelines, see Class Naming Guidelines at MSDN Online.

示例

The following example shows how to specify that the class name is StringFormatter and the class is in the CustomFormatters namespace.

<ClassName>CustomFormatters.StringFormatter</ClassName>

Change History

Release History

2006 年 4 月 14 日

New content:
  • Added name of built-in XSLT content formatter.

请参阅

参考

Application Definition File Reference

其他资源

配置内容格式化程序

帮助和信息

获取 SQL Server 2005 帮助