共用方式為


UriTemplate Constructor (String, Boolean, IDictionary<String, String>)

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Initializes a new instance of the UriTemplate class.

Namespace:  System
Assembly:  System.ServiceModel.Web.Extensions (in System.ServiceModel.Web.Extensions.dll)

Syntax

'Declaration
Public Sub New ( _
    template As String, _
    ignoreTrailingSlash As Boolean, _
    additionalDefaults As IDictionary(Of String, String) _
)
public UriTemplate(
    string template,
    bool ignoreTrailingSlash,
    IDictionary<string, string> additionalDefaults
)

Parameters

  • ignoreTrailingSlash
    Type: System.Boolean
    true if the trailing slash “/” characters are ignored; otherwise false.

Version Information

Silverlight

Supported in: 5, 4

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.