Partager via


TModelInstanceInfoCollection.IndexOf Method

Note: The Microsoft UDDI SDK is not supported by or included in Microsoft Windows versions after Microsoft Windows Server 7. The Microsoft UDDI V3 SDK is included with Microsoft BizTalk Server. For more information about the Microsoft UDDI V3 SDK, see Microsoft BizTalk Server documentation
Searches for the first object in this TModelInstanceInfoCollection collection that is identical to the specified TModelInstanceInfo object in the collection, and then returns the index of the matching object.

Namespace: Microsoft.Uddi.TModels
Assembly: microsoft.uddi (in microsoft.uddi.dll)

Usage

Visual Basic
  Dim instance As TModelInstanceInfoCollection
Dim tModelInstanceInfo As TModelInstanceInfo
Dim returnValue As Integer
returnValue = instance.IndexOf(tModelInstanceInfo)

Syntax

'Declaration
PublicFunctionIndexOf ( _
    tModelInstanceInfoAsTModelInstanceInfo _
) AsInteger
publicintIndexOf (
    TModelInstanceInfotModelInstanceInfo
)
public:
intIndexOf (
    TModelInstanceInfo^ tModelInstanceInfo
)
publicintIndexOf (
    TModelInstanceInfotModelInstanceInfo
)
publicfunctionIndexOf (
    tModelInstanceInfo : TModelInstanceInfo
) : int

Parameters

  • tModelInstanceInfo
    The TModelInstanceInfo object to for which this method searches for a match.

Return Value

The zero-based index of the collection member, or -1 if no member of the collection is identical to the TModelInstanceInfo object.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Target Platforms

Windows Server 2008, Windows Server 2003, Windows XP Professional, Windows Vista, Windows Server 2003 R2, Windows XP

See Also

Reference

TModelInstanceInfoCollection Class
TModelInstanceInfoCollection Members
Microsoft.Uddi.TModels Namespace

Other Resources

Microsoft.Uddi.TModels Namespace