Export (0) Print
Expand All

BindAttribute.IsPropertyAllowed Method

Determines whether the specified property is allowed.

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

'Declaration
Public Function IsPropertyAllowed ( _
	propertyName As String _
) As Boolean
'Usage
Dim instance As BindAttribute 
Dim propertyName As String 
Dim returnValue As Boolean 

returnValue = instance.IsPropertyAllowed(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.
Show:
© 2014 Microsoft