FromUriAttribute.IsOptional 屬性

定義

取得值,指出參數是否參與 ASP.NET Web API動作多載。 如果 true 為 ,則參數不會參與多載。 否則,它會執行此作業。

public bool IsOptional { get; set; }
member this.IsOptional : bool with get, set
Public Property IsOptional As Boolean

屬性值

適用於