Feature.CopyValues
Feature.CopyValues method
Copies values of attributes from another feature.
public void CopyValues(Feature inputFeature)
| Parameter | Type | Description |
|---|---|---|
| inputFeature | Feature | The feature to copy values from. |
Exceptions
| exception | condition |
|---|---|
| ArgumentNullException | The argument is null. |
| ArgumentException | The attribute with this name does not exist in this layer. |
| InvalidOperationException | The attribute is not locked. |
| InvalidOperationException | Input value is null an the attribute in this feature cannot be null. |
| GisException | An attribute has same name but different data types in the features. |
Remarks
This method only copies attributes with matching names.
See Also
- class Feature
- namespace Aspose.Gis
- assembly Aspose.GIS