Click or drag to resize

DrawingCollectionIndexOfName Method

Returns the index in the collection of the specified subdiagram name.

Namespace:  RootPro.RootProCAD
Assembly:  RootPro.RootProCAD.Library (in RootPro.RootProCAD.Library.dll) Version: 12.0.0.0 (12.0.0.0)
Syntax
public abstract int IndexOfName(
	string name
)

Parameters

name
Type: SystemString
The partial figure name in the collection.

Return Value

Type: Int32
The zero-based index number of the subdiagram in the collection. If there is no partial figure in the collection, the return value is -1.
See Also