Click or drag to resize

TerrainCollectionIndexOf Method (String)

Gets the index of the TerrainOverlay with the specified Uri.

Namespace:  AGI.Foundation.Graphics
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public int IndexOf(
	string stringUri
)

Parameters

stringUri
Type: SystemString
The String containing the Uri to search for in the collection.

Return Value

Type: Int32
The index of the TerrainOverlay with the specified Uri in the collection. -1 if it isn't found.
See Also