共用方式為


FilterAttribute.AllowMultiple Property

 

Gets or sets a value that indicates whether more than one instance of the filter attribute can be specified.

Namespace:   System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

public bool AllowMultiple { get; }
public:
property bool AllowMultiple {
    virtual bool get() sealed;
}
abstract AllowMultiple : bool with get
override AllowMultiple : bool with get
Public ReadOnly Property AllowMultiple As Boolean

Property Value

Type: System.Boolean

true if more than one instance of the filter attribute can be specified; otherwise, false.

Implements

IMvcFilter.AllowMultiple

See Also

FilterAttribute Class
System.Web.Mvc Namespace

Return to top