BCGControlBar Library for .NET
IndexOf Method (OutlookMenuItemsCollection)




An OutlookMenuItem to locate in the OutlookMenuItemsCollection.
Returns the zero-based index of the first occurrance of the specified OutlookMenuItem in the OutlookMenuItemsCollection.
Syntax
'Declaration
 
Public Shadows Function IndexOf( _
   ByVal object As Object _
) As Integer
'Usage
 
Dim instance As OutlookMenuItemsCollection
Dim object As Object
Dim value As Integer
 
value = instance.IndexOf(object)
public new int IndexOf( 
   object object
)
public: new int IndexOf( 
   Object* object
) 
public:
new int IndexOf( 
   Object^ object
) 

Parameters

object
An OutlookMenuItem to locate in the OutlookMenuItemsCollection.
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

OutlookMenuItemsCollection Class
OutlookMenuItemsCollection Members

Send Feedback