Method AddAttribute
AddAttribute(ISyntaxAttribute)
When implemented by a class, adds specified attribute to the attribute collection.
int AddAttribute(ISyntaxAttribute attr)
Parameters
attr
ISyntaxAttributeSpecifies
ISyntaxAttribute
to 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
ISyntaxAttribute
that is added.