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

A Type 指定 Web 方法的回傳類型。

備註

PatternMatcher實例的屬性,例如讓搜尋目標成為正則表達式,是根據MatchAttribute套用在返回類型欄位的屬性來填充的。

適用於