System.Messaging Reference (Document! X Sample)
System.Messaging Namespace / AccessControlList Class / Insert Method
The zero-based index at which the access control entry should be inserted.
A AccessControlEntry to insert into the access control list.



In This Topic
    Insert Method (AccessControlList)
    In This Topic
    Inserts an access control entry into the access control list at the specified position.
    Syntax
    'Declaration
     
    
    Public Sub Insert( _
       ByVal index As Integer, _
       ByVal entry As AccessControlEntry _
    ) 
    'Usage
     
    
    Dim instance As AccessControlList
    Dim index As Integer
    Dim entry As AccessControlEntry
     
    instance.Insert(index, entry)
    public void Insert( 
       int index,
       AccessControlEntry entry
    )
    public:
    void Insert( 
       int index,
       AccessControlEntry^ entry
    ) 

    Parameters

    index
    The zero-based index at which the access control entry should be inserted.
    entry
    A AccessControlEntry to insert into the access control list.
    Exceptions
    ExceptionDescription
    The index parameter is not a valid index in this access control list.
    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