[This is preliminary documentation and subject to change.]
Creates and adds a new PropertyRule object to the collection.
[Visual Basic] Overridable Overloads Public Function AddNew( _ ByVal propertyId As String, _ ByVal roleId As String, _ ByVal stateId As String, _ ByVal isVisible As Boolean, _ ByVal isEnabled As Boolean _ ) As PropertyRule
The Id of the property to be associated with the newly created rule.
roleId
The Id of the role to be associated with the newly created rule.
stateId
The Id of the state to be associated with the newly created rule.
isVisible
The initial value for the IsVisible property of the newly created rule.
isEnabled
The initial value for the IsEnabled property of the newly created rule.
Return Value
Returns a reference to the newly created PropertyRule object.
Remarks
The string identifiers must refere to valid objects that are already contained in the Properties, Roles and States collections in the containgin AuthorizationPolicy instance.