ESRI.ArcGIS.ADF.IMS
CodePage Property
See Also 
ESRI.ArcGIS.ADF.IMS.Data Namespace > ShapeWorkspace Class : CodePage Property




Gets or sets a value which defines a codepage if it is not defined in the DBF header.

Syntax

Visual Basic (Declaration) 
Public Property CodePage As String
Visual Basic (Usage)Copy Code
Dim instance As ShapeWorkspace
Dim value As String
 
instance.CodePage = value
 
value = instance.CodePage
C# 
public string CodePage {get; set;}

Remarks

The CodePage value is the name of the ICU transcoder. Examples include cp1252 and UTF8. The value is valid only if the LDID byte in the DBF header is "0". If the LDID byte is not "0", then the value used in codepage is ignored, and the value used in the LDID byte is used instead.

When using the CodePage, GeoIndexDir, and Shared properties, you should be aware of the following. Workspaces are not duplicated inside the Spatial Server. Therefore, if you start one service using ShapeWorkspace "A" and a second service also using the same workspace, the values for CodePage, GeoIndexDir, and Shared from the first service are used as the values for the second service. If in the first service you set Shared = False, and in the second service you set Shared = True, the Spatial Server will ignore Shared = True and use Shared = False instead. The same is true for values used in CodePage and GeoIndexDir.

See Also

© 2010 All Rights Reserved.