Click or drag to resize

TerrainCollectionIndexOf Method (Uri)

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.2.419.0 (24.2.419.0)
Syntax
public int IndexOf(
	Uri uri
)

Parameters

uri
Type: SystemUri
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