Partager via


PhoneCollection.Contains 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
Determines if the collection contains an object that is identical to the specified Phone object.

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

Usage

Visual Basic
  Dim instance As PhoneCollection
Dim phone As Phone
Dim returnValue As Boolean
returnValue = instance.Contains(phone)

Syntax

'Declaration
PublicFunctionContains ( _
    phoneAsPhone _
) AsBoolean
publicboolContains (
    Phonephone
)
public:
boolContains (
    Phonephone
)
publicbooleanContains (
    Phonephone
)
publicfunctionContains (
    phone : Phone
) : boolean

Parameters

  • phone
    Contains a Phone structure for which this method searches for a match.

Return Value

true if the structure is contained in the collection or false if it is not.

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

PhoneCollection Class
PhoneCollection Members
Microsoft.Uddi.Businesses Namespace
Phone Structure