共用方式為


BindAttribute.IsPropertyAllowed(String) 方法

定義

判斷是否允許指定的屬性。

public bool IsPropertyAllowed(string propertyName);
member this.IsPropertyAllowed : string -> bool
Public Function IsPropertyAllowed (propertyName As String) As Boolean

參數

propertyName
String

屬性的名稱。

傳回

如果允許指定的屬性,則為 true;否則為 false。

適用於