This sample is used to delete repeated values of a certain field.
Control/Object/Interface | Properties | Methods |
Plugin | Initialize(), ExitInstance() | |
CtrlAction | FormClass | Run() |
Application | ActiveApplication, Output, MainForm, ActiveForm | |
IFormMain | FormManager | |
IFormMap | MapControl | |
ITextBox | Text | |
MapControl | Map | |
Map | Layers | |
DatasetVector | Query() | |
Recordset | RecordCount, | MoveFirst(), GetFieldValue(), MoveNext(), Close(), Dispose() |
SuperMap iDesktop 8C\SampleData\SampleCodeUsed\TabularChecking.udb.
When you successfully compile DeleteRepeatedAttribute.sln, SuperMap.Desktop.DeleteRepeatedAttribute.dll and SuperMap.Desktop.DeleteRepeatedAttribute.config will be generated and copied to SuperMap iDesktop 8C\Bin\Plugins\DeleteRepeatedAttribute and SuperMap iDesktop 8C\WorkEnvironment\Default respectively. Each time you start SuperMap iDesktop 8C, the DeleteRepeatedAttribute plugin will be loaded.
If you want to remove the DeleteRepeatedAttribute plugin from SuperMap iDesktop 8C, you only need to delete SuperMap.Desktop.DeleteRepeatedAttribute.config in the SuperMap iDesktop 8C\WorkEnvironment\Default folder.