Table of Contents

Method AddAttribute

Namespace
Alternet.Syntax
Assembly
Alternet.Syntax.v9.dll

AddAttribute(ISyntaxAttribute)

When implemented by a class, adds specified attribute to the attribute collection.

int AddAttribute(ISyntaxAttribute attr)

Parameters

attr ISyntaxAttribute

Specifies 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.