Partager via


Arguments Element for ContentFormatter (ADF)

Provides a location for specifying the initialization arguments for a content formatter.

Syntaxe

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

Element Characteristics

Characteristic Description

Data type

None.

Default value

None.

Occurrence

Optional once per ContentFormatter element.

Updates

Can be added and deleted when updating the application.

Element Relationships

Relationship Elements

Parent element

ContentFormatter Element (ADF)

Child elements

Argument Element for ContentFormatter/Arguments (ADF)

Notes

The distributor passes these arguments to the content formatter's Initialize() method.

Exemple

The following example shows an Arguments element. Its child elements provide initialization values for an XSLT content formatter.

<Arguments>
    <Argument>
        <Name>XsltBaseDirectory</Name>
        <Value>C:\TransformDirectory</Value>
    <Argument>
    <Argument>
        <Name>XsltFileName</Name>
        <Value>StockTransform.xsl</Value>
<Argument>
    <Argument>
        <Name>DisableEscaping</Name>
        <Value>true</Value>
    <Argument>
</Arguments>

Voir aussi

Référence

Application Definition File Reference

Autres ressources

Configuration des modules de formatage de contenu
Mise à jour des instances et des applications

Aide et Informations

Assistance sur SQL Server 2005