System.Messaging Reference (Document! X Sample)
Item Property



System.Messaging Namespace > MessageQueuePermissionEntryCollection Class : Item Property
The zero-based index into the collection.
Gets or sets the object at a specified index.
Syntax
'Declaration
 
Public Default Property Item( _
   ByVal index As Integer _
) As MessageQueuePermissionEntry
'Usage
 
Dim instance As MessageQueuePermissionEntryCollection
Dim index As Integer
Dim value As MessageQueuePermissionEntry
 
instance.Item(index) = value
 
value = instance.Item(index)
public MessageQueuePermissionEntry this[ 
   int index
]; {get; set;}
public:
property MessageQueuePermissionEntry^ default [int] {
   MessageQueuePermissionEntry^ get(int index);
   void set (int index, MessageQueuePermissionEntry^ value);
}

Parameters

index
The zero-based index into the collection.

Property Value

The MessageQueuePermissionEntry that exists at the specified 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