DMPermissionCollection Class

Alterian Email Manager 6.2.3 SDK Help File
Represents a collection of DMPermission objects that can be individually accessed by index.
Inheritance Hierarchy

Namespace:  DMLibrary
Assembly:  DMLibrary (in DMLibrary.dll) Version: 1.0.6340.17420

Syntax
[SerializableAttribute]
public class DMPermissionCollection : CollectionBase

The DMPermissionCollection type exposes the following members.

Constructors
NameDescription
Public methodDMPermissionCollection
Initializes a new instance of the DMPermissionCollection class
Top
Properties
NameDescription
Public propertyItem
Top
Methods
NameDescription
Public methodAdd
Adds a DMPermission object to the DMPermissionCollection.
Public methodContains
Returns a boolean value indicating whether the DMPermission object specified by the PermissionTypeID exists within the collection.
Public methodGetPermission
Gets a DMPermission object based on the PermissionTypeID specified. If the DMPermission specified does not exist within the collection, a new one is created with its flag set to DMPermissionFlag.DMPF_NOACCESS, added to the collection, and returned as a DMPermission object.
Public methodIndexOf
Gets the index of a DMPermission object based on the PermissionTypeID specified. If the DMPermission specified does not exist within the collection, -1 is returned.
Top
See Also