SPRegionalSettings.Collation Property

Gets or sets the collation that is used on the site.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Property Collation As Short
    Get
    Set
'Usage
Dim instance As SPRegionalSettings
Dim value As Short

value = instance.Collation

instance.Collation = value
public short Collation { get; set; }

Property Value

Type: System.Int16
A 16-bit integer that specifies the collation.

Remarks

A collation specifies the bit patterns that represent each character and the rules by which characters are sorted and compared.

The following table shows possible values for the Collation property and the regions or language groups to which they apply.

Value

Description

0

Albanian

1

Arabic

2

Chinese Pronunciation

3

Chinese Stroke Count

4

Chinese (Traditional) Bopomofo

5

Chinese (Traditional) Stroke Count

6

Croatian

7

Cyrillic

8

Czech

9

Danish/Norwegian

10

Estonian

11

Finnish/Swedish

12

French

13

Georgian Modern

14

German Phone Book

15

Greek

16

Hebrew

17

Hindi

18

Hungarian

19

Hungarian Technical

20

Icelandic

21

Japanese

22

Japanese Unicode

23

Korean

24

Korean Unicode

25

General

26

Latvian

27

Lithuanian

28

Lithuanian Classic

29

Spanish Traditional

30

Spanish Modern

31

Polish

32

Romanian

33

Slovak

34

Slovenian

35

Thai

36

Turkish

37

Ukrainian

38

Vietnamese

See Also

Reference

SPRegionalSettings Class

SPRegionalSettings Members

Microsoft.SharePoint Namespace