BCGControlBar Library for .NET
IndexOf Method (OutlookItemsCollection)




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

Parameters

object
An OutlookBarItem to locate in the OutlookItemCollection.
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

OutlookItemsCollection Class
OutlookItemsCollection Members

Send Feedback