This documentation is archived and is not being maintained.

UriTemplate Members

Visual Studio 2008

A class that represents a Uniform Resource Identifier (URI) template.

The UriTemplate type exposes the following members.

Public method UriTemplate Overloaded. Initializes a new instance of the UriTemplate class

Public method BindByName Overloaded. Creates a new URI from the template and the collection of parameters.
Public method BindByPosition Creates a new URI from the template and an array of parameter values.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Public method IsEquivalentTo Indicates whether a UriTemplate is structurally equivalent to another.
Public method Match Attempts to match a URI to a UriTemplate.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string representation of the UriTemplate instance. (Overrides Object.ToString().)

Public property Defaults A collection of name and value pairs for any default parameter values.
Public property IgnoreTrailingSlash Specifies whether trailing slashes “/” in the template should be ignored when matching candidate URIs.
Public property PathSegmentVariableNames Gets a collection of variable names used within path segments in the template.
Public property QueryValueVariableNames Gets a collection of variable names used within the query string in the template.