共用方式為


OptionalResource Simple Type

Defines a string type that may or may not contain content.

<xs:simpleType name="OptionalResource">
    <xs:restriction
        base="string"
    >
        <xs:maxLength
            value="1024"
         />
        <xs:minLength
            value="0"
         />
    </xs:restriction>
</xs:simpleType>

Remarks

The string can be empty or contain up to 1,024 characters.

Requirements

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

See also

DisplayInformation