Add Method (AccessControlList)
Appends an access control entry to the access control list.
Syntax
'Declaration Public Function Add( _ ByVal entry As AccessControlEntry _ ) As Integer
'Usage Dim instance As AccessControlList Dim entry As AccessControlEntry Dim value As Integer value = instance.Add(entry)
public int Add( AccessControlEntry entry )
public: int Add( AccessControlEntry^ entry )
Parameters
- entry
- A AccessControlEntry to append to the end of the access control list.
Return Value
The position into which the new access control entry was inserted.
Exceptions
Exception | Description |
---|---|
System.ArgumentNullException | The entry parameter is null. |
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also