共用方式為


ActionDescriptor.ActionConstraints 屬性

定義

這個動作的條件約束集。 必須全部滿足,才能選取動作。

public:
 property System::Collections::Generic::IList<Microsoft::AspNetCore::Mvc::ActionConstraints::IActionConstraintMetadata ^> ^ ActionConstraints { System::Collections::Generic::IList<Microsoft::AspNetCore::Mvc::ActionConstraints::IActionConstraintMetadata ^> ^ get(); void set(System::Collections::Generic::IList<Microsoft::AspNetCore::Mvc::ActionConstraints::IActionConstraintMetadata ^> ^ value); };
public System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraintMetadata> ActionConstraints { get; set; }
public System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraintMetadata>? ActionConstraints { get; set; }
member this.ActionConstraints : System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraintMetadata> with get, set
Public Property ActionConstraints As IList(Of IActionConstraintMetadata)

屬性值

適用於