Export (0) Print
Expand All

UriTemplate.BindByName Method (Uri, IDictionary<String, String>, Boolean)

Creates a new URI from the template and the collection of parameters.

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

public Uri BindByName(
	Uri baseAddress,
	IDictionary<string, string> parameters,
	bool omitDefaults
)

Parameters

baseAddress
Type: System.Uri

A URI that contains the base address.

parameters
Type: System.Collections.Generic.IDictionary<String, String>

A dictionary that contains a collection of parameter name/value pairs.

omitDefaults
Type: System.Boolean

A value that specifies whether default values are ignored.

Return Value

Type: System.Uri
Returns Uri.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5 SP1

Community Additions

ADD
Show:
© 2014 Microsoft