HasAttr
Function Prototype
bool HasAttr(const string& name) const;
Function Description
Checks whether an attribute exists by name.
Parameter Description
Parameter |
Input/Output |
Type |
Description |
---|---|---|---|
name |
Input |
const string& |
Attribute name |
Return Value
Parameter |
Type |
Description |
---|---|---|
- |
bool |
true: An attribute named name is found. false: No attribute named name is found. |
Exception Handling
None
Restriction
None
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot