RegistrySetContent Method |
Adds the coordinate references system defined by a CSV formatted string to the registry.
Namespace:
Ptv.Components.Projections
Assembly:
Ptv.Components.Projections (in Ptv.Components.Projections.dll) Version: 1.7.10.0
Syntax public static void SetContent(
string csv,
bool allowReplace = false,
bool reinitialize = false
)
Public Shared Sub SetContent (
csv As String,
Optional allowReplace As Boolean = false,
Optional reinitialize As Boolean = false
)
public:
static void SetContent(
String^ csv,
bool allowReplace = false,
bool reinitialize = false
)
static member SetContent :
csv : string *
?allowReplace : bool *
?reinitialize : bool
(* Defaults:
let _allowReplace = defaultArg allowReplace false
let _reinitialize = defaultArg reinitialize false
*)
-> unit
Parameters
- csv
- Type: SystemString
String containing the coordinate reference systems in the format id;wkt, one CRS per line. - allowReplace (Optional)
- Type: SystemBoolean
Specifies if an existing coordinate reference system should be replaced, if it exists. - reinitialize (Optional)
- Type: SystemBoolean
Specifies if the registry is cleared before adding the coordinate reference system specified by csv.
Remarks Note that allowReplace and reinitialize are not mutually exclusive. allowReplace is
considered per record and has an effect on duplicates included in the csv data.
See Also