Click or drag to resize

MasterDrawComponentCollectionIndexOfID Method

Returns the index in the collection of the ID of the specified drawing part definition.

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 IndexOfID(
	int id
)

Parameters

id
Type: SystemInt32
ID of the drawing component definition

Return Value

Type: Int32
The zero-based index number of the drawing component definition in the collection. The return value when there is no drawing component definition in the collection is -1.
See Also