共用方式為


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 協助