IVstaHostObjectCollection.IndexOf Method

Gets the index of the specified host object.

Namespace:  Microsoft.VisualStudio.Tools.Applications.ProgrammingModel.Interop
Assembly:  Microsoft.VisualStudio.Tools.Applications.ProgrammingModel (in Microsoft.VisualStudio.Tools.Applications.ProgrammingModel.dll)

Syntax

'Declaration
Function IndexOf ( _
    value As IVstaHostObject _
) As Integer
'Usage
Dim instance As IVstaHostObjectCollection 
Dim value As IVstaHostObject 
Dim returnValue As Integer 

returnValue = instance.IndexOf(value)
int IndexOf(
    IVstaHostObject value
)
int IndexOf(
    IVstaHostObject^ value
)
function IndexOf(
    value : IVstaHostObject
) : int

Parameters

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

IVstaHostObjectCollection Interface

IVstaHostObjectCollection Members

Microsoft.VisualStudio.Tools.Applications.ProgrammingModel.Interop Namespace