BindAttribute.IsPropertyAllowed Method
Determines whether the specified property is allowed.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public Function IsPropertyAllowed ( _
propertyName As String _
) As Boolean
public bool IsPropertyAllowed(
string propertyName
)
public:
bool IsPropertyAllowed(
String^ propertyName
)
Parameters
- propertyName
Type: System.String
The name of the property.
Return Value
Type: System.Boolean
true if the specified property is allowed; otherwise, false.