SerializationFormatRule(AccessPermission, SerializationFormat[]) Constructor
Creates the SerializationFormatRule that provides the specified access permission to specified report layout serialization formats.
Namespace: DevExpress.XtraReports.Security
Assembly: DevExpress.XtraReports.v24.1.dll
NuGet Package: DevExpress.Reporting.Core
Declaration
public SerializationFormatRule(
AccessPermission permission,
params SerializationFormat[] formats
)
Parameters
Name | Type | Description |
---|---|---|
permission | AccessPermission | The AccessPermission enumeration value that specifies whether the created rule allows or denies the specified specified report layout serialization formats. |
formats | SerializationFormat[] | An array of report layout serialization formats that the created rule allows or denies. |
Remarks
You can use the static Allow(SerializationFormat[]) or Deny(SerializationFormat[]) method to create an instance of the SerializationFormatRule class.
See Also