DeleteFeatureElement
Top  Previous  Next

Description

Deletes the specified element associated with the feature.


Syntax


[C++]
int
 DeleteFeatureElement ((const char* feature, const char* attribute, const char* value = NULL);


Parameters
[C/C++]
 
[in] const char* feature  
Name of the feature to which the element belongs.  
 
[in] const char* element  
Name of the element to delete.  


Return Values


S_OK  
Success  
E_FAIL  
Failure  
E_NOINTERFACE  
Feature or element does not exist  
 

Example


This fragment of the code deletes the ToolTip element:

m_pCamera->Disconnect();  
m_pCamera->DeleteFeatureElement("ExposureTime","ToolTip");  

Remarks


The use of this method requires an advanced knowledge of the GenICam standard and XML syntax. For more information please refer to SetFeatureElement.

Note that the camera must be in the disconnected state in order for this method to work.