Exception | Description |
---|---|
Eplan.EplApi.Base.BaseException | Thrown when MaxIndex property is called on MDPropertyDefinition object with invalid property Id. |
MDPart oPart = m_MDPartsDatabase.Parts[0]; //a valid part object //a valid call int iMaxIndex = oPart.Properties[Eplan.EplApi.MasterData.Properties.MDPartsDatabaseItem.ARTICLE_ADDITIONALTEXT].Definition.MaxIndex;