Creates the URL for the specified template and binds parameters.
Namespace: DocuWare.Services.Http.ClientAssembly: DocuWare.RestClient (in DocuWare.RestClient.dll) Version: 6.5.0.0 (6.5.0.5648)
Syntax
Parameters
- templates
- Type: System.Collections.Generic IEnumerable UriTemplateDescription
The templates.
- templateName
- Type: System String
Name of the template.
- parameters
- Type: System.Collections.Generic IEnumerable KeyValuePair String, Object
The parameters.
Return Value
Type: StringThe URL with bound parameters.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerable UriTemplateDescription . When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).Exceptions
Exception | Condition |
---|---|
System ArgumentException | The specified template '{0}' cannot be found.;templateName |
See Also