UriTemplate Constructor (String)

 

Initializes a new instance of the UriTemplate class with the specified template string.

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

Public Sub New (
	template As String
)

Parameters

template
Type: System.String

The template.

The following example shows how to call the constructor.

Dim template As UriTemplate = New UriTemplate("weather/{state}/{city}?forecast={day}")

.NET Framework
Available since 3.5
Silverlight
Available since 4.0
Return to top
Show: