Table of Contents

Method AddAttribute

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

AddAttribute(ISyntaxAttribute)

Adds specified attribute to the attribute collection.

public virtual int AddAttribute(ISyntaxAttribute attr)

Parameters

attr ISyntaxAttribute

Specifies ISyntaxAttribute to add.

Returns

int

Index of added attribute in the attribute collection.

AddAttribute()

Creates a new ISyntaxAttribute and adds it to the attribute collection.

public virtual ISyntaxAttribute AddAttribute()

Returns

ISyntaxAttribute

ISyntaxAttribute that is added.