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)

Syntax

Public Function GetGroupIndex ( _
    itemName As String _
) As Integer
public int GetGroupIndex(
    string itemName
)

Parameters

Return Value

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

Remarks

Return value matches the position in the GroupDisplayNames collection

Version Information

Windows Phone OS

Supported in: 8.1, 8.0

See Also

Reference

SortedLocaleGrouping Class

Microsoft.Phone.Globalization Namespace