Share via


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

Return Value

Type: System.Boolean
true if the specified property is allowed; otherwise, false.

See Also

Reference

BindAttribute Class

System.Web.Mvc Namespace