GetGroupIndex Method
Collapse the table of content
Expand the table of content

SortedLocaleGrouping.GetGroupIndex Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Returns the group index to which the value string belongs.

Namespace:  Microsoft.Phone.Globalization
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

'Declaration
Public Function GetGroupIndex ( _
	itemName As String _
) As Integer

Parameters

itemName
Type: System.String
The specified string.

Return Value

Type: System.Int32
The group index to which the value string belongs.

Return value matches the position in the GroupDisplayNames collection

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft