Add Method

DirectoryServicesPermissionEntryCollection.Add Method (DirectoryServicesPermissionEntry)


Appends the specified DirectoryServicesPermissionEntry object to this collection.

Namespace:   System.DirectoryServices
Assembly:  System.DirectoryServices (in System.DirectoryServices.dll)

public int Add(
	DirectoryServicesPermissionEntry value


Type: System.DirectoryServices.DirectoryServicesPermissionEntry

The DirectoryServicesPermissionEntry object to add to this collection.

Return Value

Type: System.Int32

The zero-based index of the added DirectoryServicesPermissionEntry object that is appended to this collection.

.NET Framework
Available since 1.1
Return to top
© 2015 Microsoft