UriTemplateMatch 构造函数

定义

初始化 UriTemplateMatch 类的新实例。Initializes a new instance of the UriTemplateMatch class.

public:
 UriTemplateMatch();
public UriTemplateMatch ();
Public Sub New ()

注解

通常不直接实例化此类,而是从 UriTemplateMatchMatch(Uri, Uri) 方法返回 MatchSingle(Uri) 实例。Usually you do not directly instantiate this class, a UriTemplateMatch instance is returned from the Match(Uri, Uri) or MatchSingle(Uri) method. Match 方法也会返回 UriTemplateMatch 的集合。The Match method returns a collection of UriTemplateMatch as well.

适用于