共用方式為


Link Simple Type

Defines a string that you use to specify a URL.

<xs:simpleType name="Link">
    <xs:restriction
        base="xs:string"
    >
        <xs:pattern
            value="(http[s]?:\/\/.+)?"
         />
    </xs:restriction>
</xs:simpleType>

Patterns

The Link simple type is a xs:string that is restricted by the following pattern:

  • (http[s]?:\/\/.+)?

Requirements

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

See also

GlobalDiagnosticPackage