語言

TestFilterContext.MethodArity 屬性

定義

取得或設定測試方法中宣告的通用型別參數數量,或 null 當沒有受管理元資料可用時。 零表示非通用方法。

public int? MethodArity { get; set; }
member this.MethodArity : Nullable<int> with get, set
Public Property MethodArity As Nullable(Of Integer)

屬性值

適用於