Home > All Other Interfaces > IFeatureGroup > CreateFeature
Creates a new feature and adds it to the feature group.
JavaScript |
|
string CreateFeature( object Geometry, string Attributes = "") |
C# |
|
string CreateFeature( object Geometry, string Attributes = "") |
C++ |
|
HRESULT CreateFeature( VARIANT Geometry, BSTR Attributes, BSTR* pObjectIdStr) |
Parameters
Geometry
The geometry of the added feature.
Attributes
The new feature’s attributes represented as a string.
Return value
pObjectIdStr
The ID of the newly created feature represented as a string.
Exceptions
See: HRESULT Return Values for a list of possible values returned by the HRESULT.