int ComponentVersion { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

The ComponentVersion property of the MapInstance class represents the version of the component within the map instance. This property is virtual, allowing derived classes to override it if necessary. It is an integer value that can be used to track changes or updates to the component's implementation over time.

Usage

To access the ComponentVersion property, you need to have an instance of the MapInstance class. You can then get or set the version number as needed. This property is useful for version control and ensuring compatibility with different versions of map components.

Example

// Example of accessing the ComponentVersion property
MapInstance mapInstance = new MapInstance();
int version = mapInstance.ComponentVersion;

// Set a new version
mapInstance.ComponentVersion = 2;