System.Messaging Reference (Document! X Sample)
System.Messaging Namespace / MessageQueuePermissionEntryCollection Class / IndexOf Method
The permission entry to search for.



In This Topic
    IndexOf Method (MessageQueuePermissionEntryCollection)
    In This Topic
    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