Argument Element for ContentFormatter/Arguments (ADF)

Provides a location to define a single initialization argument for a content formatter.

Синтаксис

<NotificationClasses>
    <NotificationClass>
        ...
        <ContentFormatter>
            ...
            <Arguments>
                <Argument>

Element Characteristics

Characteristic Description

Data type

None.

Default value

None.

Occurrence

Required one or more times per Arguments element.

Updates

Can be added and deleted when updating the application.

Замечания

The distributor passes the argument name and value to the content formatter's Initialize() method.

Element Relationships

Relationship Elements

Parent element

Arguments Element for ContentFormatter (ADF)

Child elements

Name Element for ContentFormatter/Arguments/Argument (ADF)

Value Element for ContentFormatter/Arguments/Argument (ADF)

Пример

The following example shows an Argument element. Its child elements set the value for the XsltFileName argument used by the standard XSLT content formatter.

<Argument>
    <Name>XsltFileName</Name>
    <Value>StockTransform.xsl</Value>
</Argument>

См. также

Справочник

Application Definition File Reference

Другие ресурсы

Настройка модулей форматирования данных
Обновление экземпляров и приложений

Справка и поддержка

Получение помощи по SQL Server 2005