System.Messaging Reference (Document! X Sample)



The permission entry to search for.
IndexOf Method (MessageQueuePermissionEntryCollection)
Determines the index of a specified permission entry in this collection.
Syntax
'Declaration
 
Public Function IndexOf( _
   ByVal value As MessageQueuePermissionEntry _
) As Integer
'Usage
 
Dim instance As MessageQueuePermissionEntryCollection
Dim value As MessageQueuePermissionEntry
Dim value As Integer
 
value = instance.IndexOf(value)

Parameters

value
The permission entry to search for.

Return Value

The zero-based index of the specified permission entry, or -1 if the permission entry was not found in the 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