System.Messaging Reference (Document! X Sample)
System.Messaging Namespace / MessageQueuePermissionEntryCollection Class / OnInsert Method
The zero-based index at which to insert value.
The new value of the element at index.



In This Topic
    OnInsert Method
    In This Topic
    Performs additional custom processes before inserting a new element into the System.Collections.CollectionBase instance.
    Syntax
    'Declaration
     
    
    Protected Overrides Sub OnInsert( _
       ByVal index As Integer, _
       ByVal value As Object _
    ) 
    'Usage
     
    
    Dim instance As MessageQueuePermissionEntryCollection
    Dim index As Integer
    Dim value As Object
     
    instance.OnInsert(index, value)
    protected override void OnInsert( 
       int index,
       object value
    )
    protected:
    void OnInsert( 
       int index,
       Object^ value
    ) override 

    Parameters

    index
    The zero-based index at which to insert value.
    value
    The new value of the element at index.
    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