DMPermissionCollection Class |
The DMPermissionCollection type exposes the following members.
| Name | Description | |
|---|---|---|
| DMPermissionCollection | Initializes a new instance of the DMPermissionCollection class |
| Name | Description | |
|---|---|---|
| Add |
Adds a DMPermission object to the DMPermissionCollection.
| |
| Contains |
Returns a boolean value indicating whether the DMPermission object specified by the
PermissionTypeID exists within the collection.
| |
| GetPermission |
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.
| |
| IndexOf |
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.
|