Partager via


CategoryCollection.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 specified Category is in the collection.

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

Usage

Visual Basic
  Dim instance As CategoryCollection
Dim category As Category
Dim returnValue As Boolean
returnValue = instance.Contains(category)

Syntax

'Declaration
PublicFunctionContains ( _
    categoryAsCategory _
) AsBoolean
publicboolContains (
    Categorycategory
)
public:
boolContains (
    Category^ category
)
publicbooleanContains (
    Categorycategory
)
publicfunctionContains (
    category : Category
) : boolean

Parameters

  • category
    The Category to search for in the collection.

Return Value

true if the Category is found in the collection; otherwise false.

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

CategoryCollection Class
CategoryCollection Members
Microsoft.Uddi.Extensions Namespace