CustomProperty Element (RDL)

Represents a custom property used in a report, report item, or group.

语法

<CustomProperties>
    ...
    <CustomProperty>
        <Name>...</Name>
        <Value>...</Value>
    </CustomProperty>
    ...
</CustomProperties>

Element Characteristics

Characteristic Description

Data type and length

None

Default value

None

Cardinality

1-n: Required element that can occur once or more than once.

Element Relationships

Relationship Element

Parent element

CustomProperties

Child elements

Name

Value

备注

A CustomPropertyName or Value element within a CustomData element with no data rows will evaluate to null if it is based on an expression. Custom properties with expressions that need to be evaluated, even in the case of no rows, should be placed on the CustomReportItem instead.

Client applications using the CustomProperty element should add an application-specific namespace prefix to their custom property names to reduce the likelihood of name collisions in the event that multiple applications are used for editing the same report definition (for example, “msd:FormattedValue” rather than just “FormattedValue”).

请参阅

参考

Report Definition XML Elements

帮助和信息

获取 SQL Server 2005 帮助