PatternMatcher(Type) 构造函数

定义

PatternMatcher基于输入类型创建实例。

public:
 PatternMatcher(Type ^ type);
public PatternMatcher(Type type);
new System.Web.Services.Protocols.PatternMatcher : Type -> System.Web.Services.Protocols.PatternMatcher
Public Sub New (type As Type)

参数

type
Type

一个 Type ,指定 Web 方法的返回类型。

注解

实例 PatternMatcher 的属性(如要使搜索目标的正则表达式)根据 MatchAttribute 应用于返回类型的字段的属性进行填充。

适用于