System.Messaging Reference (Document! X Sample)
Insert Method (MessageQueuePermissionEntryCollection)



System.Messaging Namespace > MessageQueuePermissionEntryCollection Class : Insert Method
The zero-based index into the collection at which to insert the permission entry.
The permission entry to insert into this collection.
Inserts a permission entry into this collection at a specified index.
Syntax
'Declaration
 
Public Sub Insert( _
   ByVal index As Integer, _
   ByVal value As MessageQueuePermissionEntry _
) 
'Usage
 
Dim instance As MessageQueuePermissionEntryCollection
Dim index As Integer
Dim value As MessageQueuePermissionEntry
 
instance.Insert(index, value)
public void Insert( 
   int index,
   MessageQueuePermissionEntry value
)
public:
void Insert( 
   int index,
   MessageQueuePermissionEntry^ value
) 

Parameters

index
The zero-based index into the collection at which to insert the permission entry.
value
The permission entry to insert into this collection.
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