UriTemplate::Match Method (Uri^, Uri^)
.NET Framework (current version)
Attempts to match a T:System.URI to a UriTemplate.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- baseAddress
-
Type:
System::Uri^
The base address.
- candidate
-
Type:
System::Uri^
The Uri to match against the template.
If the match is successful the UriTemplateMatch is populated with the URI segments, variable values, query string values, and wildcard segments from the candidate URI. If the match is unsuccessful, null is returned.
.NET Framework
Available since 3.5
Available since 3.5
Show: