ESRI.ArcGIS.ADF.Web
SpatialReference Constructor(Int32,String)
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.SpatialReference Namespace > SpatialReference Class > SpatialReference Constructor : SpatialReference Constructor(Int32,String)




coordSysID
Integer ID of the coordinate system.
coordSysDef
Definition string of the coordinate system.
Constructs a SpatialReference.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal coordSysID As Integer, _
   ByVal coordSysDef As String _
)
Visual Basic (Usage)Copy Code
Dim coordSysID As Integer
Dim coordSysDef As String
 
Dim instance As New SpatialReference(coordSysID, coordSysDef)
C# 
public SpatialReference( 
   int coordSysID,
   string coordSysDef
)

Parameters

coordSysID
Integer ID of the coordinate system.
coordSysDef
Definition string of the coordinate system.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.