共用方式為


DisplayInformation Complex Type

Specifies the localized name and description strings that are used for display in a UI component.

<xs:complexType name="DisplayInformation">
    <xs:sequence>
        <xs:element name="Parameters"
            type="dcmPS:Parameters"
            minOccurs="1"
            maxOccurs="1"
        >
            <xs:unique name="No_display_parameters_may_have_the_same_name">
                <xs:selector
                    xpath="Parameter"
                 />
                <xs:field
                    xpath="Name"
                 />
            </xs:unique>
        </xs:element>
        <xs:element name="Name"
            type="dcmRS:MandatoryResource"
            minOccurs="1"
            maxOccurs="1"
         />
        <xs:element name="Description"
            type="dcmRS:OptionalResource"
            minOccurs="1"
            maxOccurs="1"
         />
    </xs:sequence>
</xs:complexType>

Child elements

Element Type Description
Description dcmRS:OptionalResource A description of the UI component. The description is optional.
Name dcmRS:MandatoryResource The display name to use for the UI component.
Parameters dcmPS:Parameters A list of parameter names. The names must match the parameter names specified in the substitution strings found in Name and Description. For example, if Name contained the string, "The %device% device is %status%.", then the list of parameters should contain "device" and "status".

Remarks

How the strings are used depends on where this node is located in the manifest. For example, if this node is a child of LocalDiagnosticPackage, the Name and Description provide the name and description of the troubleshooting pack. For single response lists, the Name is used as the display name for a choice in the list and the Description is used as a tooltip when the user hovers the mouse over the choice.

Requirements

Minimum supported client
Windows 7 [desktop apps only]
Minimum supported server
Windows Server 2008 R2 [desktop apps only]

See also

DisplayInformation (Choice) Element

DisplayInformation (GlobalDiagnosticPackage) Element

DisplayInformation (GlobalRootcause) Element

DisplayInformation (LaunchUIInteraction) Element

DisplayInformation (MultipleResponseInteraction) Element

DisplayInformation (PauseInteraction) Element

DisplayInformation (SingleResponseInteraction) Element

DisplayInformation (TextInteraction) Element

DisplayInformation (LocalDiagnosticPackage) Element

DisplayInformation (LocalRootcause) Element

DisplayInformation (Resolver) Element