Table of Contents

Method IndexOfName

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

IndexOfName(string, bool)

Returns index of the item within collection by it's name.

public virtual int IndexOfName(string name, bool caseSensitive)

Parameters

name string

Specifies Name property of item to locate.

caseSensitive bool

Indicates whether search should be case sensitive.

Returns

int

Index of found item.