Share via


ServiceInfoCollection.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
Retrieves the location of the specified ServiceInfo object in the collection.

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

Usage

Visual Basic
  Dim instance As ServiceInfoCollection
Dim serviceInfo As ServiceInfo
Dim returnValue As Integer
returnValue = instance.IndexOf(serviceInfo)

Syntax

'Declaration
PublicFunctionIndexOf ( _
    serviceInfoAsServiceInfo _
) AsInteger
publicintIndexOf (
    ServiceInfoserviceInfo
)
public:
intIndexOf (
    ServiceInfo^ serviceInfo
)
publicintIndexOf (
    ServiceInfoserviceInfo
)
publicfunctionIndexOf (
    serviceInfo : ServiceInfo
) : int

Parameters

  • serviceInfo
    Contains a ServiceInfo object for which this method searches for a match.

Return Value

The location of the ServiceInfo object in the collection.

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

ServiceInfoCollection Class
ServiceInfoCollection Members
Microsoft.Uddi.Services Namespace

Other Resources

Microsoft.Uddi.Services Namespace