Gets an coordinate system by an code string.
Namespace: Autodesk.Civil.SettingsAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 10.5.768.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
Exception | Condition |
---|---|
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(). |