MDPropertyValue pV = "123"; // Off-line object
MDPropertyValue pV2= 12; // Off-line object
MDPropertyValue pV3 = same_parts_database.Part[0].Properties[ Eplan.EplApi.MasterData.Properties.MDPartsDatabaseItem.SAME_PROPERTY /* property id */ ];
//pV3.Id == Eplan.EplApi.MasterData.Properties.MDPartsDatabaseItem.SAME_PROPERTY
// In this case, where index wasn't specified, pV3.Id.Index is 0.
MDPropertyValue pV4 = same_parts_database.Part[0].Properties[ Eplan.EplApi.MasterData.Properties.MDPartsDatabaseItem.SAME_PROPERTY /* property id */ , 1 /* property index */ ];
//pV4.Id == Eplan.EplApi.MasterData.Properties.MDPartsDatabaseItem.SAME_PROPERTY
//pV4.Index == 1
int propertyId = pV4.Id.Id;
int propertyIndex = pV4.Id.Index;