GetCoordinateSystemByCode Method

Gets an coordinate system by an code string.

Gets an coordinate system by an code string.

Namespace: Autodesk.Civil.Settings
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.3.1717.0

Syntax

C#

public static SettingsCoordinateSystem GetCoordinateSystemByCode(
	string code
)

Visual Basic

Public Shared Function GetCoordinateSystemByCode ( _
	code As String _
) As SettingsCoordinateSystem

Visual C++

public:
static SettingsCoordinateSystem^ GetCoordinateSystemByCode(
	String^ code
)

Parameters

code
Type: System.String

Exceptions

ExceptionCondition
System.ArgumentException Thrown when the code is not a valid coordinate system code that means new code is not contained in the return array of method GetALLCode().
System.ArgumentException Thrown when the code is not a valid coordinate system code that means new code is not contained in the return array of method GetALLCode().

See Also