Version

FindMatchingItem Method

Finds the ActivityCategory in the collection with the specified category name.
Syntax
'Declaration
 
Public Function FindMatchingItem( _
   ByVal categoryName As String _
) As ActivityCategory
public ActivityCategory FindMatchingItem( 
   string categoryName
)

Parameters

categoryName
Category name to search.

Return Value

If a match is found returns the matching ActivityCategory object, otherwise null.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also