[]
Returns the zero-based index of the first Model3DView in this collection
whose Name equals the specified name,
if Name is empty then UIName is used.
public int IndexByName(string name)
Public Function IndexByName(name As String) As Integer
| Type | Name | Description |
|---|---|---|
| string | name | The name of the view to locate. |
| Type | Description |
|---|---|
| int | The zero-based index of the first occurrence of a view with the specified name if found; otherwise, -1. |
Comparison is ordinal and case-sensitive. If name is null or empty,
the method returns -1.