Method AddAttribute
AddAttribute(ISyntaxAttribute)
When implemented by a class, adds specified attribute to the attribute collection.
int AddAttribute(ISyntaxAttribute attr)
Parameters
attrISyntaxAttributeSpecifies
ISyntaxAttributeto add.
Returns
- int
Index of added attribute in the attribute collection.
AddAttribute()
When implemented by a class, creates a new ISyntaxAttribute and adds it to the attribute collection.
ISyntaxAttribute AddAttribute()
Returns
- ISyntaxAttribute
ISyntaxAttributethat is added.