System.Messaging Reference (Document! X Sample)
OnRemove Method



System.Messaging Namespace > MessageQueuePermissionEntryCollection Class : OnRemove Method
The zero-based index at which value can be found.
The value of the element to remove from index.
Performs additional custom processes when removing an element from the System.Collections.CollectionBase instance.
Syntax
'Declaration
 
Protected Overrides Sub OnRemove( _
   ByVal index As Integer, _
   ByVal value As Object _
) 
'Usage
 
Dim instance As MessageQueuePermissionEntryCollection
Dim index As Integer
Dim value As Object
 
instance.OnRemove(index, value)
protected override void OnRemove( 
   int index,
   object value
)
protected:
void OnRemove( 
   int index,
   Object^ value
) override 

Parameters

index
The zero-based index at which value can be found.
value
The value of the element to remove from 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

Reference

MessageQueuePermissionEntryCollection Class
MessageQueuePermissionEntryCollection Members
Base Implementation in OnRemove